adamwdraper / Numeral-js

A javascript library for formatting and manipulating numbers.
http://numeraljs.com
MIT License
9.66k stars 927 forks source link

fix format < 1 bug #756

Open yasin459 opened 2 years ago

yasin459 commented 2 years ago

refrencing issue #568 in bytes.js we had a if statement that would never be called if value was <1 so I added a check, and fixed that, I also added some new tests, all 178 test passed using grunt