home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Australian Personal Computer 1999 April
/
APC443.iso
/
features
/
grpware
/
coldfus
/
coldfusi.exe
/
data1.cab
/
Documentation
/
snippets
/
round.cfm
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1998-10-08
|
411 b
|
22 lines
<!--- This example shows the use of Round --->
<HTML>
<HEAD>
<TITLE>
Round Example
</TITLE>
</HEAD>
<BODY>
<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>
</UL>
</BODY>
</HTML>