isAlmostEqualNumber MethodStatic

Toleranced equality test, using tolerance smallAngleRadians * ( 1 + abs(a) + (abs(b)))

  • Effectively an absolute tolerance of smallAngleRadians, with tolerance increasing for larger values of a and b.

isAlmostEqualNumber(a: number, b: number): boolean

Parameter Type Description
a number  
b number  

Returns - boolean

Defined in

Last Updated: 20 June, 2023