Hello:
I have the NumberFormat() func rounding up a number. The result is one
integer higher than the original integer.
Example:
NUMBERFORMAT(5111, '')
This yields 5112 on CF 4.5.
It's supposed to print 5111.
However, if the first number in the string is = 5, the last number is
always +1 (so the code above would yield 2).
If the first number in the string is =4, the last number is always
correct (or 1 in the string above.). If the first number = 9, the last
number is always -1 (so the code above would yield 0).
This happens on CF 4.5. CF 5.0 does not have this issue, but our
commerce system is on 4.5.
Any help or logical explanation would be great, because this doesn't
make sense to me.
-Vinny DiDonato
AOL Handle = Vinny49
~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists