Are you outputing the number with the dollar sign on it or are you
adding that during output?
If the latter, use NumberFormat(number,mask)

http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/functa48.htm#wp11
10053

Michael T. Tangorre  

> I need to trim numbers from a price.
>
> For example, I want the price displayed as $120 not $120.00
> as it is now. Is the code for this using LTRIM?
>
> I need it to count how many characters then trim the last
> three so that $50.00 would look like $50 the same as $120.00
> would look like $120.
>
> Robert O.
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to