STD.Math.FMatch( a, b, epsilon);
| a | The first value. |
| b | The second value. |
| epsilon | The allowable margin of error. |
| Return: | Returns whether two floating point values are the same, within margin of error epsilon. |
The FMatch function returns whether two floating point values are the same, within margin of error epsilon.
Example:
IMPORT STD; STD.Math.FMatch(2.6,2.2,0.5); //true STD.Math.FMatch(2.6,2.2,0.3); //false