I've used that in the past. However, sometimes the imprecision of IEEE floating
point numbers expressing base 10 stuffs it all up, i.e. for some numbers:
round(a.bcde*100)/100=a.b(c-1)99999....
David Cummins
"!jeff!" wrote:
>
> <CFSET yourNumber = (#ROUND(yourNumber * 100)# / 100)>
>
> At 04:11 PM 8/30/2000 -0500, Kim Ahlbrandt wrote:
> >After doing some calculations, I'm coming up with a number (for example)
> >143.129997919. I would like this to be displayed as 143.13. I have noticed
> >that there is a function called "round" and a few related functions but
> >these take away the two decimal places I do want to keep. Can anyone help??
> >
> >Kim
> >_________________________________________________________________________
> >Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
> >
> >Share information about yourself, create your own public profile at
> >http://profiles.msn.com.
> >
> >------------------------------------------------------------------------------
> >Archives: http://www.mail-archive.com/[email protected]/
> >To Unsubscribe visit
> >http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
> >send a message to [EMAIL PROTECTED] with 'unsubscribe' in
> >the body.
>
> !j!
>
> The mark of mediocrity is searching for the precedent.
>
> !jeff! sherwood Director of BIGWORDS.com Web Site Design / JEDI
> BIGWORDS.com worker#2
> [EMAIL PROTECTED] [EMAIL PROTECTED]
> .r.e.c.o.v.e.r.e.d.n.e.t.s.c.a.p.e.u.s.e.r. . . . 415.543.1400.x300
>
> ------------------------------------------------------------------------------
> Archives: http://www.mail-archive.com/[email protected]/
> To Unsubscribe visit
>http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
>message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.