UNPKG

amount-in-words-global

Version:
23 lines (22 loc) 587 B
export declare enum CountryCodes { IND = "IND", USA = "USA", GBR = "GBR", NGR = "NGR", GH = "GH", CFA = "CFA", EURO = "EURO" } export declare class AmountToWords { private words1To19; private wordsTens; private wordsBig; /** * Ifelere: Naira does not not have an 's' for plural therefore this map is adjusted to have currencies declare plural form */ private curCodes; toWords: (amount: string | number, countryCode?: string) => string; private getNumSys; private convertToWords; private convertDecimalToWords; }