Go to: Synopsis. Return value. MEL examples.
int equivalentTol(float $a, float $b, float $tol)
None
Variable Name | Variable Type | Description |
---|---|---|
$a | float | First value to compare |
$b | float | Value to compare with |
equivalentTol(0.0, 0.0005, 0.001); // Result : 1 // equivalentTol(0.0, 0.005, 0.001); // Result : 0 //