number-to-words-kz
v1.0.5
Published
Converts number to text-based form in Kazakh language
Downloads
5
Maintainers
Readme
number-to-words-kz
A lightweight npm package for converting numbers to text in Kazakh language.
Installation
You can install this package using npm:
npm install number-to-words-kz
Usage
const numberToWordKz = require("number-to-words-kz");
const textNumber = numberToWordKz(12345);
const textNumberMillion = numberToWordKz("100 000 000 000");
console.log(textNumber);
// Output: он екі мың үш жүз қырық бес
console.log(textNumberMillion);
// Output: бір жүз миллиард
Features
- Can accept both string and number
- Can accept negative numbers
Limits
- Max absolute integer value is 100 000 000 000