Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Percentage problems??? Post Reply Post New Topic
Author Message
swatts
Groupie
Groupie
Avatar

Joined: 17 Mar 2010
Online Status: Offline
Posts: 83
Quote swatts Replybullet Topic: Percentage problems???
     Posted: 25 Mar 2010 at 10:40am
We have a menu where the person puts in a number for a percentage off, like 25 or 50 or 75. The number is in Ack_Receipt_Handbook.box_reduced_percent
I do this formula and I get the result of 12.50.

toNumber({Ack_Receipt_Handbook.box_reduced_percent}) %  400.00
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 25 Mar 2010 at 12:01pm
A % B
divides A by B as a percentage
 
You want:
(toNumber({Ack_Receipt_Handbook.box_reduced_percent})/100) * 400.00
IP IP Logged
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum