number-localization

1.0.8 • Public • Published

number-localization

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"

Dependencies (0)

    Dev Dependencies (2)

    Package Sidebar

    Install

    npm i number-localization

    Weekly Downloads

    2

    Version

    1.0.8

    License

    ISC

    Last publish

    Collaborators

    • d.pranchuk