RunKit + npm: globalize

node v8.17.0
endpointsharetweet
var Globalize = require( "globalize" ); Globalize.load( require( "cldr-data" ).entireSupplemental() ); Globalize.load( require( "cldr-data" ).entireMainFor( "de" ) ); console.log(Globalize("de").parseNumber("1.2")); // > NaN console.log(Globalize("de").parseNumber("1.200")); // > 1200
Created from: https://npm.runkit.com/globalize
Loading…