QBasic 1.1 Commands List: ABS Function

Example(s)


PRINT ABS(45.5 - 100!)           'Output is:  54.5
PRINT SGN(12), SGN(-31), SGN(0)  'Output is:  1  -1  0