Without having to find the perfect rarely used mathematical function:

Multiply by 10, round, and divide by 10?

n

-----Original Message-----
From: Rick Lamb [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 16, 2000 12:18 PM
To: CF-Talk
Subject: rounding to first decimal


I thought this would be simple. How can round a long integer eg: 2.146752 to
the first decimal point?

Thanks,

Rick

----------------------------------------------------------------------------
--------------------
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a
message with 'unsubscribe' in the body to [EMAIL PROTECTED]


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to