math-trunc ![Build Status](https://camo.githubusercontent.com/2991957cfed0e83b9c3b0aaa8263597a8d0f1cab787eb86647459d7d0c341c6c/68747470733a2f2f7472617669732d63692e6f72672f6b657676612f6d6174682d7472756e632e7376673f6272616e63683d6d6173746572)
ES6
Math.trunc()
ponyfill
Ponyfill: A polyfill that doesn't overwrite the native method
Install
$ npm install math-trunc
Usage
const mathTrunc = require('math-trunc');
mathTrunc(13.37);
//=> 13
mathTrunc(-0.123);
//=> -0
License
MIT © Kevin Mårtensson