parse-metric
v0.2.1
Published
Translates numbers with metric prefixes into plain JavaScript Numbers
Downloads
4
Readme
parse-metric
Translates numbers with CI prefixes into plain JavaScript Numbers.
Examples
var pm = require('parse-metric');
pm('200kB'); // => 200000
pm('12.75cm'); // => 0.1275