home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Australian Personal Computer 1999 April
/
APC443.iso
/
features
/
grpware
/
coldfus
/
coldfusi.exe
/
data1.cab
/
Documentation
/
snippets
/
int.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
|
389 b
|
23 lines
<!--- This example shows the use of int --->
<HTML>
<HEAD>
<TITLE>
Int Example
</TITLE>
</HEAD>
<BODY bgcolor=silver>
<H3>Int Example</H3>
<P>Int returns the closest integer smaller than a number.
<P>Int(11.7) : <CFOUTPUT>#Int(11.7)#</CFOUTPUT>
<P>Int(-11.7) : <CFOUTPUT>#Int(-11.7)#</CFOUTPUT>
<P>Int(0) : <CFOUTPUT>#Int(0)#</CFOUTPUT>
</BODY>
</HTML>