News for hackers. Stuff that matters.
Re:Numeral.js – A JavaScript library for formatting and mani... by gioi on Tuesday May 27, 2014 @09:02AM (#7804212)
Thanks for sharing! Unfortunately, bytes representations are wrong.

As you may now, there is a difference between kilobytes (KB) and kibibytes (KiB), megabytes (MB) and mibibytes (MiB) et cetera. 1 KiB = 1024 bytes = 1.024 KB.

Please check out https://en.wikipedia.org/wiki/Binary_prefix and fix your library :)

Re:Numeral.js – A JavaScript library for formatting and mani... by scotth on Tuesday May 27, 2014 @12:29PM (#7805276)
That convention is not universally recognized.
Re:Numeral.js – A JavaScript library for formatting and mani... by peterashford on Tuesday May 27, 2014 @08:28PM (#7807734)
...or barely recognised at all?