Contents > CFML Reference > ColdFusion Functions > Ceiling PreviousNext

Ceiling

Determines the closest integer that is greater than a specified number.

The closest integer that is greater than a given number.

Mathematical functions

Ceiling(number)

Int, Fix, Round

Parameter

Description

number

A real number

<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>


Contents > CFML Reference > ColdFusion Functions > Ceiling PreviousNext

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.

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/coldfusion/6.1/htmldocs/functi34.htm