Min

From King Arthur's Gold Wiki
Jump to: navigation, search

Returns the smaller 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::Min(float a, float b)
int Maths::Min(int a, int b)