linkgetLocaleCurrencySymbol
npm Package | @angular/common |
---|---|
Module | import { getLocaleCurrencySymbol } from '@angular/common'; |
Source | common/src/i18n/locale_data_api.ts |
function getLocaleCurrencySymbol(locale: string): string | null;
linkDescription
The symbol used to represent the currency for the main country using this locale (e.g. $ for
the locale en-US).
The symbol will be null
if the main country cannot be determined.