correct-operations
v1.0.0
Published
Simple module to fix decimal operations errors in javascript
Downloads
1
Maintainers
Readme
Correct Operations
A simple module to fix decimal operations errors in javascript
How to use
import {sum} from "correct-operations"
console.log(0.1 + 0.2)
//Output: 0.30000000000000004
console.log(sum(0.1, 0.2))
//Output: 0.3