@univerjs/sheets-numfmt v0.4.2 • Docs
Class: MenuCurrencyService
Constructors
new MenuCurrencyService()
new MenuCurrencyService(): MenuCurrencyService
Returns
Properties
Property | Modifier | Type | Defined in |
---|---|---|---|
currencySymbol$ | readonly | Observable < | "AT" | "US" | "CA" | "GB" | "JP" | "IN" | "AU" | "CN" | "KR" | "RU" | "BE" | "CY" | "EE" | "FI" | "FR" | "DE" | "GR" | "IE" | "IT" | "LV" | "LT" | "LU" | "MT" | "NL" | "PT" | "SK" | "SI" | "ES" > | sheets-numfmt/src/service/menu.currency.service.ts:22 (opens in a new tab) |
Methods
getCurrencySymbol()
getCurrencySymbol():
| "AT"
| "US"
| "CA"
| "GB"
| "JP"
| "IN"
| "AU"
| "CN"
| "KR"
| "RU"
| "BE"
| "CY"
| "EE"
| "FI"
| "FR"
| "DE"
| "GR"
| "IE"
| "IT"
| "LV"
| "LT"
| "LU"
| "MT"
| "NL"
| "PT"
| "SK"
| "SI"
| "ES"
Returns
| "AT"
| "US"
| "CA"
| "GB"
| "JP"
| "IN"
| "AU"
| "CN"
| "KR"
| "RU"
| "BE"
| "CY"
| "EE"
| "FI"
| "FR"
| "DE"
| "GR"
| "IE"
| "IT"
| "LV"
| "LT"
| "LU"
| "MT"
| "NL"
| "PT"
| "SK"
| "SI"
| "ES"
Defined in
sheets-numfmt/src/service/menu.currency.service.ts:31 (opens in a new tab)
setCurrencySymbolByCountryCode()
setCurrencySymbolByCountryCode(symbol): void
Set the currency symbol by setting the country code.
Parameters
Parameter | Type |
---|---|
symbol | | "AT" | "US" | "CA" | "GB" | "JP" | "IN" | "AU" | "CN" | "KR" | "RU" | "BE" | "CY" | "EE" | "FI" | "FR" | "DE" | "GR" | "IE" | "IT" | "LV" | "LT" | "LU" | "MT" | "NL" | "PT" | "SK" | "SI" | "ES" |
Returns
void
Defined in
sheets-numfmt/src/service/menu.currency.service.ts:27 (opens in a new tab)