User Tools

Site Tools


syntax:functions:abs

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
syntax:functions:abs [2014/09/16 21:35] dmitrysyntax:functions:abs [2015/03/20 11:01] elenap
Line 2: Line 2:
  
 Absolute value. Absolute value.
 +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  ^ ^  Example  ^  Result  ^
 | abs(5 - 20)  |  15 | | abs(5 - 20)  |  15 |
 +| abs(0 - 5)     5 |
  
-Note: keep in mind that EasyMorph doesn't support unary minus in expressions.+Note: keep in mind that EasyMorph doesn't support unary minus in expressions - see Example 2 above.
syntax/functions/abs.txt · Last modified: 2021/08/11 15:13 by craigt

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki