The masking does work correctly if I have the *exact*
number of nines as the masked number has digits to the
left of the decimal.

But that's not going to work, because there's no way to tell
what number of digits there will be for any given property!

Rick

-----Original Message-----
From: Jim Wright [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 12, 2007 5:29 PM
To: CF-Talk
Subject: Re: What is wrong with this?

Ashish Gohri wrote:
> Something like this works - 
> <cfset a = NumberFormat("1234567","9999")>
> 

I believe in older CF versions (5 maybe, 4.5 for sure), you had to have 
as many places (or more) in your mask as you had in the number it is 
formatting.  Is this a older version of CF?





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:272431
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to