• Overview
@angular/common

getLocaleCurrencySymbol

function
deprecated

Retrieves the symbol used to represent the currency for the main country corresponding to a given locale. For example, '$' for en-US.

Deprecation warning

Use the Intl API to format a currency with from currency code

API

function getLocaleCurrencySymbol(locale: string): string | null;
Jump to details