Go to: Synopsis. Return value. MEL examples.
int floatEq(float $f1, float $f2)
None
Variable Name | Variable Type | Description |
---|---|---|
$f1 | float | First float value to be compared |
$f2 | float | Second float value to be compared |
floatEq(5.0, 5.001); // Result: 1 // floatEq(5.0, 5.1); // Result: 0 //