Some currency fix ups

This commit is contained in:
Garry Newman 2019-05-26 21:33:18 +01:00
parent e4c9e9d034
commit c60612b8b0

View File

@ -35,17 +35,18 @@ public static string FormatPrice(string currency, double price)
{ {
case "AED": return $"{decimaled}د.إ"; case "AED": return $"{decimaled}د.إ";
case "ARS": return $"${decimaled} ARS"; case "ARS": return $"${decimaled} ARS";
case "AUD": return $"${decimaled} AUD"; case "AUD": return $"A${decimaled}";
case "BRL": return $"R$ {decimaled}"; case "BRL": return $"R${decimaled}";
case "CAD": return $"${decimaled} CAD"; case "CAD": return $"C${decimaled}";
case "CHF": return $"Fr. {decimaled}"; case "CHF": return $"Fr. {decimaled}";
case "CLP": return $"${decimaled} CLP"; case "CLP": return $"${decimaled} CLP";
case "CNY": return $"{decimaled}元"; case "CNY": return $"{decimaled}元";
case "COP": return $"COL$ {decimaled}"; case "COP": return $"COL$ {decimaled}";
case "CRC": return $"₡{decimaled}"; case "CRC": return $"₡{decimaled}";
case "EUR": return $"€{decimaled}"; case "EUR": return $"€{decimaled}";
case "SEK": return $"{decimaled}kr";
case "GBP": return $"£{decimaled}"; case "GBP": return $"£{decimaled}";
case "HKD": return $"HK$ {decimaled}"; case "HKD": return $"HK${decimaled}";
case "ILS": return $"₪{decimaled}"; case "ILS": return $"₪{decimaled}";
case "IDR": return $"Rp{decimaled}"; case "IDR": return $"Rp{decimaled}";
case "INR": return $"₹{decimaled}"; case "INR": return $"₹{decimaled}";
@ -53,17 +54,17 @@ public static string FormatPrice(string currency, double price)
case "KRW": return $"₩{decimaled}"; case "KRW": return $"₩{decimaled}";
case "KWD": return $"KD {decimaled}"; case "KWD": return $"KD {decimaled}";
case "KZT": return $"{decimaled}₸"; case "KZT": return $"{decimaled}₸";
case "MXN": return $"Mex$ {decimaled}"; case "MXN": return $"Mex${decimaled}";
case "MYR": return $"RM {decimaled}"; case "MYR": return $"RM {decimaled}";
case "NOK": return $"{decimaled} kr"; case "NOK": return $"{decimaled} kr";
case "NZD": return $"${decimaled} NZD"; case "NZD": return $"${decimaled} NZD";
case "PEN": return $"S/. {decimaled}"; case "PEN": return $"S/. {decimaled}";
case "PHP": return $"₱{decimaled}"; case "PHP": return $"₱{decimaled}";
case "PLN": return $"{decimaled}"; case "PLN": return $"{decimaled}";
case "QAR": return $"QR {decimaled}"; case "QAR": return $"QR {decimaled}";
case "RUB": return $"{decimaled}"; case "RUB": return $"{decimaled}";
case "SAR": return $"SR {decimaled}"; case "SAR": return $"SR {decimaled}";
case "SGD": return $"S$ {decimaled}"; case "SGD": return $"S${decimaled}";
case "THB": return $"฿{decimaled}"; case "THB": return $"฿{decimaled}";
case "TRY": return $"₺{decimaled}"; case "TRY": return $"₺{decimaled}";
case "TWD": return $"NT$ {decimaled}"; case "TWD": return $"NT$ {decimaled}";