npm.io
1.0.1 • Published 11 years ago

fround

Licence
MIT
Version
1.0.1
Deps
0
Vulns
0
Weekly
0
Stars
4

fround Build Status

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

Keywords