iterami
/
Docs.htm
/
common HTM Repos
/
core.js
/core_float_compare(args)
Checks if 2 floating-point numbers are equal.
If
a === b
is false, then the numbers will be compared wtihin a specific level of precision.
If no precision is specified, then
Number.EPSILON
will be used and scaled by the highest magnitude of the 2 numbers.
Arg
Default
Type
a
number
b
number
precision
number