abs
Function abs
Returns the absolute value of a number. The absolute value of a number is the number without the sign.
Usage
[h: val = abs(num)]
[h: val = absolutevalue(num)]
Examples
[r: abs(-3)]
Returns 3.
[r: abs(4)]
Returns 4.
Returns the absolute value of a number. The absolute value of a number is the number without the sign.
[h: val = abs(num)]
[h: val = absolutevalue(num)]
[r: abs(-3)]
Returns 3.
[r: abs(4)]
Returns 4.