multilingual-number-to-words
Version:
Converts to number in to words. one can get words written in any language. users can add there own language if not included
19 lines • 793 B
TypeScript
declare type string_array_10 = [string, string, string, string, string, string, string, string, string, string];
declare type string_array_4 = [string, string, string, string];
declare type string_array_6 = [string, string, string, string, string, string];
declare type NumberToWordStyle = "LakhsAndCrore" | "MillionAndBillion";
declare type DecimalStyle = "Currency" | "Scientific";
interface LAN {
single_digits: string_array_10;
teens: string_array_10;
double_digits: string_array_10;
crore_lakhs: string_array_4;
million_billions: string_array_6;
and_currency: string_array_4;
}
interface WORD {
getWord(_number: Number): string;
}
export { LAN, WORD };
export type { NumberToWordStyle, DecimalStyle };
//# sourceMappingURL=interfaces.d.ts.map