Highlights
- Pro
Pinned Loading
-
currencyFormat.js
currencyFormat.js 1new Intl.NumberFormat("en-US", {style: "currency", currency: "USD"}).format(20);
2//"$20.00"
34new Intl.NumberFormat("ja-JP", {style: "currency", currency: "jpy"}).format(2000);
5//"¥2,000"
-
rupiahFormat.js
rupiahFormat.js 1const rupiah = (number)=>{
2return new Intl.NumberFormat("id-ID", {
3style: "currency",
4currency: "IDR"
5}).format(number);
-
-
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.