> 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".

How about DecimalFormat?

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.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