The best we could come up with here was:

trim(numberFormat(thenum, "9999999999999999999999.99"))

Which kinda sux.. I was hoping there was a more elegant solution. The
example in the docs leaves the number with leading spaces.

bye

AC>> Is this what you mean?

AC>> numberFormat(nyNumber,9.99)

RS> Nope,

RS> <CFSET thenum = 100.50>
RS> <cfoutput>
RS> #numberFormat(thenum,9.99)#
RS> </cfoutput>

RS> Returns:
RS> 100.



RS> -----------------------
RS> Ryan Sabir
RS> Newgency Pty Ltd
RS> 2a Broughton St
RS> Paddington 2021
RS> Sydney, Australia
RS> Ph (02) 9331 2133
RS> Fax (02) 9331 5199
RS> Mobile: 0411 512 454
RS> http://www.newgency.com/index.cfm?referer=rysig 


RS> ---
RS> You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
RS> To unsubscribe send a blank email to [EMAIL PROTECTED]

RS> MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
RS> http://www.mxdu.com/ + 24-25 February, 2004


-----------------------
Ryan Sabir
Newgency Pty Ltd
2a Broughton St
Paddington 2021
Sydney, Australia
Ph (02) 9331 2133
Fax (02) 9331 5199
Mobile: 0411 512 454
http://www.newgency.com/index.cfm?referer=rysig 


---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to