Max

From King Arthur's Gold Wiki
Revision as of 22:24, 6 September 2012 by Shadlington (Talk | contribs)

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

Returns the larger of the two given numbers.


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.

float Maths::Max(float a, float b)
int Maths::Max(int a, int b)