Erm can anyone tell me why this code

<cfset num = 123456789123456789.12>

<cfoutput>numberformat:#numberformat(num,'999,999,999,999,999,999,999.99')#<
br>
decimal format: #decimalformat(num)#
</cfoutput>

Produces this result, which is obviously wrong ?

numberformat: 123,456,789,123,456,784.00
decimal format: 92,233,720,368,547,760.00 

--
Russ



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232436
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to