SmallBASIC GuideThe language | Programming Tips | Commands | System | Graphics & Sound | Miscellaneous | File system | Mathematics | 2D Algebra | Strings | Console | Glossary |
Round

Function: INT (x) Rounds x downwards to the nearest integer
Function: FIX (x) Rounds x upwards to the nearest integer
Function: FLOOR (x) Largest integer value not greater than x
Function: CEIL (x) Smallest integral value not less than x
Function: FRAC (x) Fractional part of x
Function: ROUND (x [, decs]) Rounds the x to the nearest integer or number with 'decs' decimal digits.


[Prev] [Next]