to-currency-string
v1.0.2
Published
Converts any number to currency formatted string
Downloads
3
Maintainers
Readme
to-currency
Converts any number to currency formatted string
usage
to_currency(${value},${currency code});
to_currency(200,"USD"); // $200
supported currencies
Feel free to contribute and add more
- "USD": "$",
- "CAD": "$",
- "EUR": "€",
- "AED": "AED",
- "AFN": "Af",
- "ALL": "ALL",
- "AMD": "AMD",
- "ARS": "AR$",
- "AUD": "AU$",
- "AZN": "man.",
- "BAM": "KM",
- "BDT": "Tk",
- "BGN": "BGN",
- "BHD": "BD",
- "BIF": "FBu",
- "BND": "BN$",
- "BOB": "Bs",
- "BRL": "R$",
- "BWP": "BWP",
- "BYN": "Br",
- "BZD": "BZ$",
- "CDF": "CDF",
- "CHF": "CHF",
- "CLP": "CL$",
- "CNY": "CN¥",
- "COP": "CO$",
- "CRC": "₡",
- "CVE": "CV$",
- "CZK": "Kč",
- "DJF": "Fdj",
- "DKK": "Dkr",
- "DOP": "RD$",
- "DZD": "DA",
- "EEK": "Ekr",
- "EGP": "EGP",
- "ERN": "Nfk",
- "ETB": "Br",
- "GBP": "£",
- "GEL": "GEL",
- "GHS": "GH₵",
- "GNF": "FG",
- "GTQ": "GTQ",
- "HKD": "HK$",
- "HNL": "HNL",
- "HRK": "kn",
- "HUF": "Ft",
- "IDR": "Rp",
- "ILS": "₪",
- "INR": "Rs",
- "IQD": "IQD",
- "IRR": "IRR",
- "ISK": "Ikr",
- "JMD": "J$",
- "JOD": "JD",
- "JPY": "¥",
- "KES": "Ksh",
- "KHR": "KHR",
- "KMF": "CF",
- "KRW": "₩",
- "KWD": "KD",
- "KZT": "KZT",
- "LBP": "LB£",
- "LKR": "SLRs",
- "LTL": "Lt",
- "LVL": "Ls",
- "LYD": "LD",
- "MAD": "MAD",
- "MDL": "MDL",
- "MGA": "MGA",
- "MKD": "MKD",
- "MMK": "MMK",
- "MOP": "MOP$",
- "MUR": "MURs",
- "MXN": "MX$",
- "MYR": "RM",
- "MZN": "MTn",
- "NAD": "N$",
- "NGN": "₦",
- "NIO": "C$",
- "NOK": "Nkr",
- "NPR": "NPRs",
- "NZD": "NZ$",
- "OMR": "OMR",
- "PAB": "B/.",
- "PEN": "S/.",
- "PHP": "₱",
- "PKR": "PKRs",
- "PLN": "zł",
- "PYG": "₲",
- "QAR": "QR",
- "RON": "RON",
- "RSD": "din.",
- "RUB": "RUB",
- "RWF": "RWF",
- "SAR": "SR",
- "SDG": "SDG",
- "SEK": "Skr",
- "SGD": "S$",
- "SOS": "Ssh",
- "SYP": "SY£",
- "THB": "฿",
- "TND": "DT",
- "TOP": "T$",
- "TRY": "TL",
- "TTD": "TT$",
- "TWD": "NT$",
- "TZS": "TSh",
- "UAH": "₴",
- "UGX": "USh",
- "UYU": "$U",
- "UZS": "UZS",
- "VEF": "Bs.F.",
- "VND": "₫",
- "XAF": "FCFA",
- "XOF": "CFA",
- "YER": "YR",
- "ZAR": "R",
- "ZMK": "ZK",
- "ZWL": "ZWL$"