lanka-validations - v2.1.0
    Preparing search index...

    Interface WordsOptions

    Options for lkrToWords.

    interface WordsOptions {
        includeCents?: boolean;
        language?: CurrencyLocale;
        suffix?: string;
    }
    Index
    includeCents?: boolean

    Whether to include cents in words output. Default: true

    language?: CurrencyLocale

    Target language for number to words: 'en' (English), 'si' (Sinhala), or 'ta' (Tamil). Default: 'en'

    suffix?: string

    Appends suffix, e.g. 'Only'. Default: 'Only' for English, '' for Sinhala/Tamil