| Contents > CFML Reference > ColdFusion Functions > Round |
|
|
|
|
||
Rounds a number to the closest integer.
An integer.
Round(number)
Parameter |
Description |
|---|---|
number |
Number to round |
<h3>Round Example</h3> <p>This function rounds a number to the closest integer. <ul> <li>Round(7.49) : <cfoutput>#Round(7.49)#</cfoutput> <li>Round(7.5) : <cfoutput>#Round(7.5)#</cfoutput> <li>Round(-10.775) : <cfoutput>#Round(-10.775)#</cfoutput> <li>Round(1.2345*100)/100 : <cfoutput>#Round(1.2345*100)/100#</cfoutput> </ul>
|
|
||
| Contents > CFML Reference > ColdFusion Functions > Round |
|
|
ColdFusion 8 | ColdFusion MX 7 | ColdFusion MX 6.1 | ColdFusion MX | Forums | Developer Center | Bug Reporting
Version 6.1
Comments are no longer accepted for ColdFusion MX 6.1. ColdFusion 8 is the current version.
RSS feed | Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/coldfusion/6.1/htmldocs/functa76.htm
Comments
CFGumby said on Aug 18, 2003 at 4:29 PM : halL said on Aug 19, 2003 at 7:09 AM : CFGumby said on Aug 20, 2003 at 10:13 AM : NeilR said on Oct 20, 2004 at 2:45 AM : jonescynw said on Jan 12, 2005 at 12:26 PM : t.j.hill said on Jan 14, 2005 at 9:45 AM : xigarete said on Jan 20, 2005 at 9:23 AM : surenr said on Feb 23, 2005 at 9:01 AM : No screen name said on Mar 17, 2006 at 1:08 PM : babas said on Apr 11, 2006 at 7:48 AM :