This package has been deprecated
Author message:
Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
approximately-equal
0.1.8 • Public • Published approximately-equal 
Check if two numbers are approximately equal
Install
npm install --save approximately-equal
Usage
import approximatelyEqual from 'approximately-equal';
approximatelyEqual(100.5, 101, 0.1);
approximatelyEqual(100.5, 100.6, 0.1);
API
approximatelyEqual(actual, expected[, error])
actual
Type: number
Actual value.
expected
Type: number
Expected value.
error
Type: number
Default: 0
Approximation error.
License
MIT
Package Sidebar
Install
npm i approximately-equal
Weekly Downloads