Signature
stock abs(x){ return x > 0 ? x : -x;}
Description
Returns the absolute value of a number.
Parameters
- x — Integral value
Returns
Absolute value of x (x if it is greater than 0, -x otherwise)