maybe: ".00"
#numberformat("#number#","00")#
-- Sam
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 29, 2002 1:55 PM
To: CF-Talk
Subject: Oh, that damn Numberformat!!
I hate NumberFormat()
I have had similar issues when my locale was all messed up (a
mixture of windows and cf.)
Try using LSNumberFormat - see what results you get.
Neil
__
Structure your ColdFusion code with Fusebox. Get the official book at
If you are always wanting two decimal places, try #DecimalFormat(number)#
Paul Giesenhagen
QuillDesign
http://www.quilldesign.com
SiteDirector v2.0 - Commerce Builder
> I hate NumberFormat(). Can someone please help?
>
> I want my numbers to output like this:
>
> 123 = 123.00
> 123.1 = 123.10
> I hate NumberFormat(). Can someone please help?
>
> I want my numbers to output like this:
>
> 123 = 123.00
> 123.1 = 123.10
> 123.00 = 123.00
> 0 = 0.00
>
> What would be the proper mask for this? I've tried 999.00,
> but then "0" becomes ".00". I've tried 990.00, but then
> "12" become
.com
-
Vancouver Island ColdFusion Users Group
Founder & Director
www.cfug-vancouverisland.com
- Original Message -
From: <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Monday, April 29, 2002 1:54 PM
Subject: Oh, that damn Numberformat!!
I hate NumberFormat(). Can someone please help?
I want my numbers to output like this:
123 = 123.00
123.1 = 123.10
123.00 = 123.00
0 = 0.00
What would be the proper mask for this? I've tried 999.00, but
then "0" becomes ".00". I've tried 990.00, but then "12"
becomes "012.00".
Arrggg!!
B
6 matches
Mail list logo