This shows you the differences between two versions of the page.
el:abs [2016/01/01 22:38] |
el:abs [2020/02/28 10:46] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ===== Abs ===== | ||
+ | |||
+ | ==== Format ==== | ||
+ | |||
+ | **abs** ( // | ||
+ | |||
+ | ==== Description ==== | ||
+ | |||
+ | Returns the absolute value of a numeric // | ||
+ | |||
+ | ==== Example ==== | ||
+ | |||
+ | < | ||
+ | print abs(-45) | ||
+ | print abs(6.45) | ||
+ | </ | ||
+ | will print | ||
+ | < | ||
+ | 45 | ||
+ | 6.45 | ||
+ | </ | ||
+ | |||