getCurrencySymbol
function
experimental
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;
Description
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)
© 2010–2018 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v5.angular.io/api/common/getCurrencySymbol