This is part of the HicEst documentation
CEILING(x) is the Smallest Integer ≥ x
Related functions are INT, NINT, FLOOR, ABS, MOD.
⇾Home
⇾Contents
⇾more Programming
⇾ Examples
result = CEILING( x )
The value of result is equal to the smallest integer greater than or equal to x
result = CEILING( 3.51 )
! returns result = 4
result = CEILING( -3.51 )
! returns result = -3
other integer conversions are:
result =
FLOOR
( -3.51 )
! returns result = -4
result =
NINT
( -3.51 )
! returns result = -4
result =
INT
( -3.51 )
! returns result = -3
⇾
Support HicEst
⇾
Impressum
©2000-2019 Georg Petrich, HicEst Instant Prototype Computing. All rights reserved.