syntax:functions:abs
This is an old revision of the document!
Abs(number)
Absolute value - describes the distance of a number on the number line from 0 without considering which direction from zero the number lies. The absolute value of a number is never negative.
Example | Result |
---|---|
abs(5 - 20) | 15 |
abs(0 - 5) | 5 |
Note: keep in mind that EasyMorph doesn't support unary minus in expressions - see Example 2 above.
syntax/functions/abs.1427472999.txt.gz · Last modified: 2015/03/27 12:16 by elenap