floatcmp

Syntax

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

Usage

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

Description

Compares two floating point values.

Return

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