Difference between revisions of "Min"

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

Revision as of 17:58, 22 August 2012

Returns the smaller of the two given numbers.


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

float Min(float a, float b)
int Min(int a, int b)