sorry that i did not write the problem clearly, it supposed to display
whatever number in 999,999,999,999,999,999.99 format as the variable "no"
can contains any numeric value, but whenever no = 0, it will show as .00 not
0.00, how could i format it so it display 0.00?
----- Original Message -----
From: "Bud" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, March 14, 2001 11:43 AM
Subject: Re: number format for 0
> On 3/14/01, Mak Wing Lok penned:
> >I tried to format a number with zero value :
> >
> ><cfset no = 0>
> ><cfoutput>#numberformat(no, "(999,999,999,999,999,999.99)")#</cfoutput>
> >
> >i got this result .00 but i want it to display 0.00
> >is there any other way to do it?
>
> numberformat(no, "0.00")
> --
>
> Bud Schneehagen - Tropical Web Creations
>
> _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
> ColdFusion Solutions / eCommerce Development
> [EMAIL PROTECTED]
> http://www.twcreations.com/
> 954.721.3452
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists