Skip to content

cortwave/number-localization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Number localization

Build Status

Library for localizing numbers

To install launch:
npm install number-localization

Examples of using:

  toWords = require('number-localization')
  toWords(123456, "ru")
   >> сто двадцать три тысячи четыреста пятьдесят шесть 
  toWords = require('number-localization')
  toWords(196073226113, "en")
   >> one hundred ninety six billion seventy three million two hundred twenty six thousand one hundred thirteen  

Supported locales: "ru", "en", "lv"

About

Library for localizing numbers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages