PakDataKit - v2.2.0
    Preparing search index...

    Function numberToWords

    • Converts a whole number to words using the Pakistani numbering system (hundred, thousand, lakh, crore, arab, kharab).

      Parameters

      Returns string

      The number in words

      numberToWords(125000); // "one lakh twenty-five thousand"
      numberToWords(125000, { language: 'ur' }); // "ایک لاکھ پچیس ہزار"

      If n is not a safe integer