@anjanesh/number-to-words-inr
v1.0.1
Published
Integer number to Indian numbering currency system featuring Crores, Lakhs, Thousands and Hundreds
Maintainers
Readme
number-to-words-inr
Number to words (Indian style - crore, lakh).
Installation
Install the package via npm:
npm install @anjanesh/number-to-words-inrUsage
Import.
import { number2words as numberToWordsINR } from "@anjanesh/number-to-words-inr";
console.log(numberToWordsINR(12345).trim()); // "twelve thousand three hundred forty five"
console.log(numberToWordsINR(0).trim()); // "zero"
console.log(numberToWordsINR(987654321).trim()); // "ninety eight crore seventy six lakh fifty four thousand three hundred twenty one"
License
This project is licensed under the MIT License.
Author
Anjanesh Lekshminarayanan
