up previous next
Abs

absolute value of a number

Syntax
Abs(N:INT):INT
Abs(N:RAT):RAT

Description
This function returns the absolute value of N.

Example
Abs(-3);
3
-------------------------------
Abs(-2/3);
2/3
-------------------------------