Varkon MBS Programmers manual
Rounds a FLOAT argument to the nearest (lower or higher) INT.
i:=round(x); int i; float x;
x | - A value. |
None.
The INT value closest to x.
i:=round(10.25); ! Returns 10 i:=round(10.75) ! Returns 11 i:=round(0); ! Returns 0 i:=round(-10.25); ! Returns -10 i:=round(-10.75); ! Returns -11
Varkon 1.19D svn # 120M