A simple clean way to parse numbers with Javascript
Setup
npm install simple-parse-number
Usage
var parseNumber = ; ; // => 1000.342; // => 1000.342 (italian format)
API
where:
number
the number to formatoptions
(compatible with thesymbols
option of simple-format-number)decimal
the decimal symbol (default.
)grouping
the grouping symbol (default,
)