UNPKG

digit-to-words-nepali

Version:

A comprehensive TypeScript library for converting numbers to words in English and Nepali languages. Supports numbers up to 10^39 (Adanta Singhar), currency formatting, decimal handling with individual digit pronunciation, and BigInt. Zero dependencies, fu

18 lines (17 loc) 423 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.VALID_SCALES = void 0; /** * Valid scale values for the Nepali/Indian number system */ exports.VALID_SCALES = { HUNDRED: 100n, THOUSAND: 1000n, LAKH: 100000n, CRORE: 10000000n, ARAB: 1000000000n, KHARAB: 100000000000n, NEEL: 10000000000000n, PADMA: 1000000000000000n, SHANKHA: 100000000000000000n };