ah this does help.  I had been looking under the mathematical docs
instead of the display docs.
I was trying to round to 1 decimal place, but I didn't see a way to
do that.  Round doesn't seem to list it as an attribute.  Is there a
way to do that?

thanks for your help and good morning.

>Daniel Kessler wrote:
>
>>  How do I make 34.23987234 into 34.2, without converting it to a string.
>>  btw, what's this called, in math when you give it a value the number
>>  of values on the right side of a number?
>
>NumberFormat() is probably what you're after, certainly for display
>purposes.
>
>If you're doing calculations, then save rounding your number to 1
>decimal place until you've completed all the calculations.
>
>You can find documentation for mathmatical functions for CFMX here :
>http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/functi14.htm
>and for display functions here :
>http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/functio8.htm
>

--
Daniel Kessler

Department of Public and Community Health
University of Maryland
Suite 2387 Valley Drive
College Park, MD  20742-2611
301-405-2545 Phone
www.phi.umd.edu
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to