fround
v1.0.1
Published
A ponyfill for ES6 Math.fround
Downloads
8
Maintainers
Readme
fround
A ponyfill for ES6 Math.fround
Ponyfill: a polyfill that does not overwrite the native method
Install
$ npm install --save fround
Usage
var fround = require('fround');
fround(0); // 0
fround(1); // 1
fround(1.337); // 1.3370000123977661
fround(1.5); // 1.5
fround(NaN); // NaN
License
MIT © Arthur Verschaeve