This is part of the HicEst documentation
NINT(x): Convert x to Nearest Integer
Related functions are INT, FLOOR, CEILING, ABS, MOD.
⇾Home
⇾Contents
⇾more Programming
⇾ Examples
result = NINT( argument )
result is the nearest integer value to argument
x = NINT( 3.1415 )
! returns 3
y = NINT( 2.71828 )
! returns 3
z = NINT( -0.9 )
! returns -1
see also
INT
,
FLOOR
, and
CEILING
.
⇾
Support HicEst
⇾
Impressum
©2000-2019 Georg Petrich, HicEst Instant Prototype Computing. All rights reserved.