numbertoword
v1.2.0
Published
convert number to word. You can change a gender. Languages 'ru', 'ua', 'en'. 'Ru' as default
Downloads
6
Readme
example: var numbertoword = require("numbertoword");
- numbertoword.init('ru' | 'ua' | 'en').setGender('m'|'w').convert('1234567890').getString();
- numbertoword.init('ru' | 'ua' | 'en').setGender('m'|'w').convert('1234567890').getArray();
- numbertoword.init().convert(1234567890).getArray();
- numbertoword.init().convert(1234567890).getString();
setGender() - not necessary. As default is 'm';
Language - 'ru' as default;