native

floatcmp

Syntax

native floatcmp(Float:fOne, Float:fTwo);

Description

Compares two floating point values.

Parameters

fOne First value to be compared
fTwo Second value to be compared

Return

If arguments are equal, returns 0.
If the first one is greater, returns 1.
If the second one is greater, returns -1.