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, and BigInt. Zero dependencies, fully tested.

5 lines (4 loc) 279 B
import { Language } from '../types/converterTypes'; export declare function formatWords(words: string[]): string; export declare function padDecimal(decimal: string): string; export declare function formatCurrencyAmount(amount: string, currency: string, lang: Language): string;