Skip to content

chthomos/locale-to-number.js

 
 

Repository files navigation

locale-to-number.js

Introduction

locale-to-number.js is a library that aids developers to convert string representations of numbers, in a certain locale, to decimal literal numbers. The exact opposite operation is available either by the Intl.NumberFormat() constructor or the Number.toLocaleString() function. However, converting them back to decimal is not trivial. That's where locale-to-number.js comes into play.

For more details, check the Wiki page.

Contributing

Thinking of contributing to the project? Read the instructions here.

License

locale-to-number.js is available under the MIT license.

About

Converts string representations of numbers, in a certain locale, to decimal literal numbers.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%