No good. CF doen't recognise the fraction:
Cannot convert 25/100 to number.
Rich
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Sunday, May 13, 2001 8:58 AM
To: CF-Talk
Subject: Re: Percentage subtraction
I usually have to change the percentage to a fraction like 25/100 for 25%
like X - X*25/100=Y.
Thanks,
Robert
----- Original Message -----
From: "ibtoad" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Sunday, May 13, 2001 9:08 AM
Subject: Percentage subtraction
> Is there an expression for working with percentages? I would like to
> subtract 25% from a value. Is there any easy way to do this or would I
have
> to convert it to value * .75.
>
> Thanks,
> Rich
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists