UNPKG

multi-currency-words

Version:

Convert currency amounts to words with support for Indian and International numbering systems

8 lines (6 loc) 202 B
export interface ToWordsOptions { style?: "indian" | "international"; currency?: string; subCurrency?: string; } export function toWords(amount: number, options?: ToWordsOptions): string;