Currency and amounts in words playground
Runs in your browser: nothing you type is uploaded or stored.
Input
Amount in PKR (numeric).
Try: 150000 · 2500000 · 10000000
Result
formatPKR()
Rs. 2,500,000
formatLakh()
25 Lakh
In words
English
twenty-five lakh rupees
Cheque
Rupees Twenty-Five Lakh Only
Urdu
پچیس لاکھ روپے
Usage
import { formatPKR, formatLakh, amountInWords } from "pakdatakit";
formatPKR(2500000); // → "Rs. 2,500,000"
formatLakh(2500000); // → "25 Lakh"
amountInWords(2500000);
// → "twenty-five lakh rupees"
amountInWords(2500000, { cheque: true });
// → "Rupees Twenty-Five Lakh Only"
amountInWords(2500000, { language: "ur" });
// → "پچیس لاکھ روپے"