Difference between revisions of "Abs"

From King Arthur's Gold Wiki
Jump to: navigation, search
(Created page with "<onlyinclude> Returns the absolute value of the given number. </onlyinclude> This method has two variants - one for ints, the other for floats. <syntaxhighlight lang="cpp"> int ...")
(No difference)

Revision as of 17:11, 22 August 2012

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)