Is this for dollar amounts? Always 2 decimal places?

<cfset displaydecimal = 100 * (x - int(x)) & "/100">



Lon Lentz
Applications Developer & CyberEntomologist - Alvion Technologies
DataWarehousing and List Sales - Market Your Lists on the Net!
[EMAIL PROTECTED]
941-574-8600 Ext. 210


-----Original Message-----
From: Rice, David [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 01, 2000 4:20 PM
To: CF-Talk
Subject: RE: Displaying decimal part as a fraction...

We can get the decimal part, no problem. We can also perform various
rounding schemes, of course. What we actually need is for the decimal part
to be "displayed" as a fraction for the user, as in: 10 over 100, or 10/100,
in other words.

------------------------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]

Reply via email to