A simple rounder to expected values for JavaScript.
This has not been performance tested.
Install
npm i --save expected-round
Usage
const expectedRound = expectedRound // Rounds 1.005 to 2 decimal places
Plain JS vs Expected-Round comparison.
Plain JS
Math / 100 // outputs 1
Expected-Round
// outputs 1.01