syntax:functions:abs
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
syntax:functions:abs [2021/07/27 22:50] – craigt | syntax:functions:abs [2021/08/11 15:13] (current) – [Examples] craigt | ||
---|---|---|---|
Line 11: | Line 11: | ||
=====Arguments===== | =====Arguments===== | ||
^Argument^Type^Description^ | ^Argument^Type^Description^ | ||
- | |number|Number|The value from which the absolute value is determined.| | + | |number|Number|The value from which the unsigned |
\\ | \\ | ||
**Return value type: | **Return value type: | ||
Line 22: | Line 22: | ||
=====Examples===== | =====Examples===== | ||
- | abs(10) | + | abs(10) |
- | abs(-5) | + | |
- | abs(40.5) | + | abs(-5) |
- | abs(0) | + | |
- | abs(10*100) | + | abs(40.5) |
- | abs({MyNum}*[MyVal]) | + | |
- | abs(# | + | abs(0) |
+ | |||
+ | abs(10*100) //Returns 1000 (Passing in a calculation is supported) | ||
+ | |||
+ | abs({MyNum}*[MyVal]) //Returns 15 ({MyNum}=5, [MyVal]=3; parameters are supported) | ||
+ | |||
+ | abs(# |
syntax/functions/abs.txt · Last modified: 2021/08/11 15:13 by craigt