linkgetCurrencySymbol
npm Package | @angular/common |
---|---|
Module | import { getCurrencySymbol } from '@angular/common'; |
Source | common/src/i18n/locale_data_api.ts |
function getCurrencySymbol(code: string, format: 'wide' | 'narrow'): string;
linkDescription
Return the currency symbol for a given currency code, or the code if no symbol available (e.g.: format narrow = $, format wide = US$, code = USD)