This is part of the HicEst documentation
FLOOR(x) is the Greatest Integer ≤ x
Related functions are INT, NINT, CEILING, ABS, MOD.
⇾Home
⇾Contents
⇾more Programming
⇾ Examples
result = FLOOR( x )
The value of result is equal to the greatest integer less than or equal to x
result = FLOOR( 3.51 )
! returns result = 3
result = FLOOR( -3.51 )
! returns result = -4
other integer conversions are:
result =
CEILING
( -3.51 )
! returns result = -3
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.