Parameters & Returns
Parameters
Returns
Quick Summary
Returns the absolute value of a number.
Takes value (number).
Returns the absolute value.
Technical Exegesis...
Returns the non-negative magnitude of the input value, removing any negative sign.
Examples: mathAbs(-5.3) returns 5.3, mathAbs(4.2) returns 4.2
This is commonly used for distance calculations and ensuring positive values.