1.0.1 • Published 9 years ago
math-trunc v1.0.1
math-trunc 
ES6
Math.trunc()ponyfillPonyfill: A polyfill that doesn't overwrite the native method
Install
$ npm install --save math-truncUsage
var mathTrunc = require('math-trunc');
mathTrunc(13.37);
//=> 13
mathTrunc(-0.123);
//=> -0License
MIT © Kevin Mårtensson