FloatCompare Function

Compares two floats.

int FloatCompare(float fOne, float fTwo)

Parameters

float fOne

First value.

float fTwo

Second value.

Return Value

Returns 1 if the first argument is greater than the second argument. Returns -1 if the first argument is smaller than the second argument. Returns 0 if both arguments are equal.