parse-float
v0.1.1
Published
parseFloat for comma sepparated decimal numbers (e.g: 3,14)
Downloads
7
Readme
Parse Float
parseFloat for comma sepparated numbers
Installation
$ npm install parse-float --save
Usage
var pf = require('parse-float');
pf('1,2'); // => 1.2
pf('1.000,2'); // => 1000.2
pf('1 000,2'); // => 1000.2
License
This code is released under CC0 (Public Domain)