Persian Tools - v4.0.3
    Preparing search index...

    Variable numberToWordsConst

    numberToWords: NumberToWordsType = ...

    Converts a numeric value to its Persian word representation

    The number to convert (can be number or string with commas)

    Configuration options for the conversion

    Persian word representation of the number or TypeError if invalid

    numberToWords(123) // "صد و بیست و سه"
    numberToWords("1,000") // "یک هزار"
    numberToWords(3, { ordinal: true }) // "سوم"