1.0.2 • Published 6 years ago

num-to-word-ru v1.0.2

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

Number To Words

Contains a method to Words, that converts number to russian words.

Install

npm install num-to-word-ru

API

toWords(number)

Converts an integer into words. If number is decimal, the decimals will be removed.

var toWord = require('num-to-word-ru');
toWord.toWords(13); // => “тринадцать”

// Negative numbers:
toWord.toWords(-3); // => “минус три”

// Large numbers:
converter.toWords(123456789); // => “сто двадцать-три миллиона, четыреста пятьдесят-шесть тысяч, семьсот восемьдесят-девять”

Contributions, Comments and Bugs

Contributions, comments and/or bug reports are much appreciated. Open a pull request or add comments on the issues page. Thanks!

Upcoming Releases

Converting a number to words (Ordinal), any kind of suggestions are appreciated.

1.0.0
  • Initial release