moxiecode/moxie — pull request #106 by vakata (2014-10-23 06:50:12+00:00)
Title: Add support for filesizes like 1.2m

Before this fix 1.2m would be interpreted as 12mb, which could cause all kind of issues. `~~` is used for stripping the decimal part, but `Math.floor(size)` or `parseInt(size, 10)` would work too.