Package Exports
- number-to-words-indian-currency
- number-to-words-indian-currency/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (number-to-words-indian-currency) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
You can use it for to covert number to words.(For Indian Currency)
npm install number-to-words-indian-currency
import numberToWord from "number-to-words-indian-currency"
numberToWord(6855)
data:-SIX THOUSAND EIGHT HUNDRED AND FIFTY-FIVE RUPEE ONLY
support Upto 99,99,99,999
NINETY-NINE CRORE NINETY-NINE LAKH NINETY-NINE THOUSAND NINE HUNDRED AND NINETY-NINE RUPEE ONLY
numberToWord()
//zero RUPEE ONLY
numberToWord(254584)
//TWO LAKH FIFTY-FOUR THOUSAND FIVE HUNDRED AND EIGHTY-FOUR RUPEE ONLY
numberToWord(254584.255)
//TWO LAKH FIFTY-FOUR THOUSAND FIVE HUNDRED AND EIGHTY-FOUR RUPEE AND TWENTY-SIX PAISE ONLY
numberToWord(2545258584)
//NUMBER OUT OF RANGE! RUPEE ONLY
numberToWord(254584855)
// TWENTY-FIVE CRORE FOURTY-FIVE LAKH EIGHTY-FOUR THOUSAND EIGHT HUNDRED AND FIFTY-FIVE RUPEE ONLY