Here's what the help says about 9's .'s and 0's...
9
Optional. Digit placeholder. (Shows decimal places more clearly than _.)
..
Location of a mandatory decimal point.
0
Located to the left or right of a mandatory decimal point. Pads with
zeros.
so zero is used to pad left or right of the decimal...
Chris
Ben Nadel wrote:
> What happens if you use zeros instead of nines
>
> #NumberFormat(Trim(Get_Property_Details.Sale_Price), "0000")#
>
>
> ......................
> Ben Nadel
> Certified Advanced ColdFusion MX7 Developer
> www.bennadel.com
>
> Need ColdFusion Help?
> www.bennadel.com/ask-ben/
>
> -----Original Message-----
> From: Rick Faircloth [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 12, 2007 5:28 PM
> To: CF-Talk
> Subject: RE: What is wrong with this?
>
> #NumberFormat(Trim(Get_Property_Details.Sale_Price), "9999")# still
> causes "Invalid Mask" error...
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create Web Applications With ColdFusion MX7 & Flex 2.
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:272434
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4