Skip to content

currencySymbol
@localizer/format 1.1.1

The currencySymbol is used to retrieve the symbol associated with a given currency code. It simplifies the process of formatting monetary values by providing the correct symbol for display purposes.

Usage

typescript
import { 
currencySymbol
} from '@localizer/format';
const
result
=
currencySymbol
('GBP');

Demo

GBP - British Pound
LocaleLocalized value
en-US  American English£
fr-FR  French (France)£GB
de-DE  German (Germany)£
fi-FI  Finnish (Finland)£
sv-FI  Swedish (Finland)GBP
ko-KR  Korean (South Korea)£
hi-IN  Hindi (India)£

See also