Steve use Ceiling(number) instead, much better than Fix()
Andrew Scott Senior Coldfusion Developer Aegeon Pty. Ltd. www.aegeon.com.au Phone: +613 8676 4223 Mobile: 0404 998 273 From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Onnis Sent: Monday, 13 August 2007 11:16 AM To: [email protected] Subject: [cfaussie] Strange FIX() behaviour Has anyone come across this before? <cfset dollar = 9.95 /> <cfset cents = dollar * 100 /> <cfoutput> #FIX(cents)# </cfoutput> outputs 994 I could maybe understand this is i had more decimal places but it is a plain 2 point decimal value. Any ideas? Steve Onnis Director / Head Developer [EMAIL PROTECTED] +61 3 9001 2258 0401 667 996 www.inevative.com.au <http://www.novahost.com.au> <http://www.threesquares.com.au> <http://www.smsonline.com.au> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~----------~----~----~----~------~----~------~--~---
<<inline: image001.jpg>>
<<inline: image002.jpg>>
<<inline: image003.jpg>>
<<inline: image004.jpg>>
<<inline: image005.jpg>>
<<inline: image006.gif>>
<<inline: image007.gif>>
<<inline: image008.gif>>
