ABS

From Macros Wiki
Revision as of 17:15, 22 July 2010 by ConnerO (talk | contribs)
Jump to navigationJump to search

Command

ABS
ABS
ABS <n>


Retuns the absolute value of the input, to view the result use debug.

Parameters

<n>
Anything that evaluates to a number. This can be a variable, a number, another function, or an expression which includes numbers, variables and/or functions.
For example:
123
r1
r2 + r3
(r1 + (abs(a1 * a2) / (b3 * 62)))

Example

ABS(r1/4)