User Tools

Site Tools


syntax:functions:sign

Differences

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

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
syntax:functions:sign [2014/09/16 21:41] – created dmitrysyntax:functions:sign [2015/03/27 12:14] elenap
Line 1: Line 1:
 ====== Sign(number) ====== ====== Sign(number) ======
  
-Sign of a number.+Sign of a number. The sign of a number is 1 when the number is positive, and  −1 when the number is negative. The number zero is neither positive nor negative, and therefore has no sign.
  
 ^  Example  ^  Result  ^ ^  Example  ^  Result  ^
Line 8: Line 8:
 | sign(125.1231)  |  1 | | sign(125.1231)  |  1 |
  
 +Note: keep in mind that EasyMorph doesn't support unary minus in expressions - see Example 1 above.
syntax/functions/sign.txt · Last modified: 2021/08/11 15:35 by craigt

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki