Abs

From King Arthur's Gold Wiki
Revision as of 17:11, 22 August 2012 by Shadlington (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Returns the absolute value of the given number.


This method has two variants - one for ints, the other for floats.

int Abs(int v)
float Abs(float v)