MACROMEDIA COLDFUSION MX 61-CFML Reference page 523

Cfml reference
Hide thumbs Also See for COLDFUSION MX 61-CFML:
Table of Contents

Advertisement

Int
Description
Calculates the closest integer that is smaller than number.
Returns
An integer, as a string.
Category
Mathematical functions
Function syntax
Int(number)
See also
Ceiling, Fix,
Parameters
Parameter
number
Example
<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>
Round
Description
Real number to round down to an integer
Int
523

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion mx

Table of Contents