Skip to content

@ue-too/curve / approximately

Function: approximately()

approximately(a, b, precision?): boolean

Defined in: packages/curve/src/b-curve.ts:1865

Checks if two numbers are approximately equal within a precision threshold.

Parameters

a

number

b

number

precision?

number

Returns

boolean