mirror of
https://github.com/hay-kot/homebox.git
synced 2025-08-02 15:50:27 +00:00
Added currencies XAG and XAU to currency.ts
I added XAG and XAU for myself and others who prefer to measure value with something of substance. Review the ISO 4217 standard to view a full list of official currency codes including the ones I have added. https://www.iso.org/iso-4217-currency-codes.html https://en.wikipedia.org/wiki/ISO_4217 Example: https://www.xe.com/currencyconverter/convert/?Amount=100&From=XAG&To=USD API for exchange rates: https://openexchangerates.org/
This commit is contained in:
parent
2cbcc8bb1d
commit
84c7986ca1
1 changed files with 4 additions and 0 deletions
|
@ -27,6 +27,8 @@ export type Codes =
|
||||||
| "THB"
|
| "THB"
|
||||||
| "TRY"
|
| "TRY"
|
||||||
| "USD"
|
| "USD"
|
||||||
|
| "XAG"
|
||||||
|
| "XAU"
|
||||||
| "ZAR";
|
| "ZAR";
|
||||||
|
|
||||||
export type Currency = {
|
export type Currency = {
|
||||||
|
@ -65,5 +67,7 @@ export const currencies: Currency[] = [
|
||||||
{ code: "THB", local: "Thailand", symbol: "฿", name: "Thai Baht" },
|
{ code: "THB", local: "Thailand", symbol: "฿", name: "Thai Baht" },
|
||||||
{ code: "TRY", local: "Turkey", symbol: "₺", name: "Turkish Lira" },
|
{ code: "TRY", local: "Turkey", symbol: "₺", name: "Turkish Lira" },
|
||||||
{ code: "USD", local: "United States", symbol: "$", name: "United States Dollar" },
|
{ code: "USD", local: "United States", symbol: "$", name: "United States Dollar" },
|
||||||
|
{ code: "XAG", local: "Global", symbol: "XAG", name: "Silver Troy Ounce" },
|
||||||
|
{ code: "XAU", local: "Global", symbol: "XAU", name: "Gold Troy Ounce" },
|
||||||
{ code: "ZAR", local: "South Africa", symbol: "R", name: "South African Rand" },
|
{ code: "ZAR", local: "South Africa", symbol: "R", name: "South African Rand" },
|
||||||
];
|
];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue