You could do numberFormat(varName, "0.00") also

Chris 

-----Original Message-----
From: Chris Ditty [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 03, 2007 11:53 AM
To: CF-Talk
Subject: Re: Rounding to 2 decimal places.....

Thanks.  That fixed it. I was looking under math functions and didn't
think about looking under format.  DUH.  :)

thanks again

On 4/3/07, Charlie Griefer <[EMAIL PROTECTED]> wrote:
> decimalFormat()
>
> http://livedocs.adobe.com/coldfusion/7/htmldocs/00000450.htm
>
> On 4/3/07, Chris Ditty <[EMAIL PROTECTED]> wrote:
> > Someone please tell me that this is so simple that I am just missing

> > it.  I am trying to round this number - 207.44047619 to 207.44.
> >
> > The only way that I can think to do this would be to roll a custom 
> > function.  Is there not a 1-2 liner method to do this that I am 
> > simply overlooking?
> >
> >
>
> 



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

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

Reply via email to