Abs- Returns the absolute value of a number
Function that returns the absolute value of a number.
- Abs(N): num
Parameters:
- (num) N: number.
Description:
Use the Abs function to derive the absolute value of a number. The N number can be integer or floating point.
Examples:
Calculates the absolute distance between two coordinates
X1 = 5
X2 = 90
D = Abs(X1-X2)
// Variable D will always contain the value 85, also exchanging the order of the operands