@univerjs/sheets-numfmt v0.5.0-beta.1 • 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 |
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
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