I would have thought from a decimal though. Looks like it is VERY literal _____
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of grant Sent: Monday, 13 August 2007 11:38 AM To: [email protected] Subject: [cfaussie] Re: Strange FIX() behaviour it seems that it's working literally (from the docs): If number is greater than or equal to 0, the closest integer less than number. your number is 995, closest number less than 995 is 994. still a bit weird tho. On 13/08/07, Steve Onnis <[EMAIL PROTECTED]> wrote: 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? <http://www.inevative.com.au/images/email-stationary/inevativeLogo_small.jpg > Steve Onnis Director / Head Developer <http://www.inevative.com.au/images/email-stationary/email.jpg> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> <http://www.inevative.com.au/images/email-stationary/phone.jpg> +61 3 9001 2258 <http://www.inevative.com.au/images/email-stationary/mobile.jpg> 0401 667 996 <http://www.inevative.com.au/images/email-stationary/web.jpg> 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: inevativeLogo_small.jpg>>
<<inline: email.jpg>>
<<inline: phone.jpg>>
<<inline: mobile.jpg>>
<<inline: web.jpg>>
<<inline: novahost.gif>>
<<inline: threesquares.gif>>
<<inline: smsonline.gif>>
