Writes a rupee amount in words, with paisa, as used on Pakistani cheques and invoices. Amounts are rounded to the nearest paisa.
Amount in PKR (must be zero or more)
Output language and cheque style
The amount in words
amountInWords(125000.5);// "one lakh twenty-five thousand rupees and fifty paisa"amountInWords(125000, { cheque: true });// "Rupees One Lakh Twenty-Five Thousand Only"amountInWords(125000, { language: 'ur' });// "ایک لاکھ پچیس ہزار روپے" Copy
amountInWords(125000.5);// "one lakh twenty-five thousand rupees and fifty paisa"amountInWords(125000, { cheque: true });// "Rupees One Lakh Twenty-Five Thousand Only"amountInWords(125000, { language: 'ur' });// "ایک لاکھ پچیس ہزار روپے"
If amount is negative, not finite, or too large
amount
Writes a rupee amount in words, with paisa, as used on Pakistani cheques and invoices. Amounts are rounded to the nearest paisa.