ABS is the mathematical function “Absolute Value” of a number.
Example:
1 2 3 4 5 6 7 8 |
var1 = -12 var2 = 5 myresult = var1 / var2 myABSresult = ABS(var1 / var2) RETURN myresult AS "not absolute value", myABSresult AS "absolute value" |
Return values are :
1 2 3 |
myresult = -2.4 myABSresult = 2.4 |