User Tools

Site Tools


syntax:functions:abs

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.txt · Last modified: 2016/06/20 15:43 by dmitry