Skip to content
You're viewing the docs for v0.18. The latest version is v0.20. Go to the latest docs

@ue-too/curve / index / approximately

Function: approximately() ​

approximately(a, b, precision?): boolean

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

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

Parameters ​

a ​

number

b ​

number

precision? ​

number

Returns ​

boolean