Ceiling - MACROMEDIA COLDFUSION MX 61-CFML Reference

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

Advertisement

Ceiling

Description
Determines the closest integer that is greater than a specified number.
Returns
The closest integer that is greater than a given number.
Category
Mathematical functions
Function syntax
Ceiling(number)
See also
Int, Fix,
Round
Parameters
Parameter
number
Example
<h3>Ceiling Example</h3>
<cfoutput>
<p>The ceiling of 3.4 is #ceiling(3.4)#
<p>The ceiling of 3 is #ceiling(3)#
<p>The ceiling of 3.8 is #ceiling(3.8)#
<p>The ceiling of -4.2 is #ceiling(-4.2)#
</cfoutput>
410
Chapter 3: ColdFusion Functions
Description
A real number

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion mx

Table of Contents