Abs
From King Arthur's Gold Wiki
Revision as of 22:25, 6 September 2012 by Shadlington (Talk | contribs)
Returns the absolute value of the given number.
This method is part of the Maths namespace so you need to prefix calls to it with 'Maths::'.
This method has two variants - one for ints, the other for floats.
int Maths::Abs(int v) float Maths::Abs(float v)