Runkit
Runkit
home page
user forum
new notebook
clone notebook
download notebook
support & documentation
log in
sign up
new notebook
help & feedback
clone this notebook
download this notebook
Sign In
Sign Up
RunKit + npm: globalize
node v8.17.0
endpoint
share
tweet
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…
Clone and edit this document