Max

From King Arthur's Gold Wiki
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)