1.0.1 • Published 7 years ago
js-accuracy v1.0.1
accuracy.js@1.0.0
install accuracy.js
npm install js-accuracy
use accuracy.js
node import
const accuracy=require('js-accuracy');
//import accuracy from 'js-accuracy'
// division example
console.log(accuracy.division(0.1,0.1));
// multiplication example
console.log(accuracy.multiplication(0.1,0.1));
// addition example
console.log(accuracy.addition(0.1,0.1));
// subtraction example
console.log(accuracy.subtraction(0.1,0.1));
script label
<script src="~/accuracy/index.js">
// to do ...
// adopt window.accuracy use
</script>