This shows you the differences between two versions of the page.
en:abs [2016/01/01 22:40] 127.0.0.1 external edit |
en:abs [2020/02/28 10:46] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Abs (Function) ===== | ||
- | |||
- | ==== Format ==== | ||
- | |||
- | **abs** ( // | ||
- | |||
- | returns // | ||
- | |||
- | ==== Description ==== | ||
- | |||
- | Returns the absolute value of a numeric // | ||
- | |||
- | ==== Example ==== | ||
- | |||
- | < | ||
- | print abs(-45) | ||
- | print abs(6.45) | ||
- | </ | ||
- | will print | ||
- | < | ||
- | 45 | ||
- | 6.45 | ||
- | </ | ||
- | |||
- | |||
- | ==== See Also ==== | ||
- | {{page> | ||
- | |||