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().  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!!

BTW, CFMX is cool. 


______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
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

Reply via email to