1 | var PRECISION = 0.00001; // numbers less than this is considered as 0
|
2 | export default function isNumberEqual(a, b, precision) {
|
3 | if (precision === void 0) { precision = PRECISION; }
|
4 | return Math.abs((a - b)) < precision;
|
5 | }
|
6 | ;
|
7 | //# sourceMappingURL=is-number-equal.js.map |
\ | No newline at end of file |