PakDataKit - v2.2.0
    Preparing search index...

    Function formatPKR

    • Formats a numeric amount as Pakistani Rupees with comma separators, rounded to whole rupees. Negative amounts are prefixed with -.

      Parameters

      • amount: number

        The amount in PKR

      Returns string

      Formatted string (e.g. "Rs. 150,000", "-Rs. 500")

      If amount is NaN or infinite