Determines the closest integer that is greater than a specified floating point number.
Ceiling(number=[numeric])
number
numeric
true
The number for which to find the ceiling value.
Run Example
ceiling( 1.1 );
Result: 2
When ceiling an integer the result is equal to the value passed
Result: 1
Abs
Acos
Asin
Atn
Cos
DecrementValue
Exp
Fix
Floor
FormatBaseN
IncrementValue
InputBaseN
Int
Log
Log10
Max
Min
Pi
PrecisionEvaluate
Rand
Randomize
RandRange
Round
Sgn
Sin
Sqr
Tan
Last updated 1 year ago
Was this helpful?
ceiling( 1 );
<bx:output> 1.2: #ceiling( 1.2 )# <!--- 1.2: 2 ---><br> 1.5: #ceiling( 1.5 )# <!--- 1.5: 2 ---><br> 1.7: #ceiling( 1.7 )# <!--- 1.7: 2 ---><br> </bx:output>