This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
functions:abs [2017/03/12 19:32] – [Examples] korshun | functions:abs [2017/04/17 12:13] (current) – korshun | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== abs ====== | ====== abs ====== | ||
+ | {{tag> | ||
'' | '' | ||
+ | |||
+ | [[: | ||
===== Description ===== | ===== Description ===== | ||
- | Returns the absolute value of '' | + | Returns the absolute value of x. |
+ | |||
+ | <note important> | ||
===== Examples ===== | ===== Examples ===== | ||
< | < | ||
- | abs( 2.1) -> 2.1; | + | abs( 2.1) -> 2.1 |
- | abs(-2.1) -> 2.1; | + | abs(-2.1) -> 2.1 |
- | abs( 123) -> 123; | + | abs( 123) -> 123 |
- | abs(-123) -> 123; | + | abs(-123) -> 123 |
</ | </ |