parse-float

0.1.1 • Public • Published

Parse Float

parseFloat for comma sepparated numbers

Dependency Status

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)

Readme

Keywords

Package Sidebar

Install

npm i parse-float

Weekly Downloads

12

Version

0.1.1

License

CC0

Last publish

Collaborators

  • nihey