var floatify = require("floatify")
floatify.floatify("123123.245346556")
>> 123123.245346556
floatify.floatify("123.242,5346556")
>> 123242.5346556
floatify.floatify("123,242.5346556")
>> 123242.5346556
Run Example @runkit: https://runkit.com/embed/j8f4v433l1wh
for more detailed examples see Mocha Testcases in test/floatify.js
npm i floatify
yarn add floatify
git clone [email protected]:pocketrocket/floatify
git clone https://github.com/pocketrocket/floatify.git
Basic testing done, use npm run test
or yarn run test