currencyName @localizer/format 1.1.1
The currencyName
provides a user-friendly way to format and display currency names based on their ISO 4217 currency codes. It simplifies working with currency data by converting codes like GBP
into their corresponding human-readable names.
Usage
typescript
import { currencyName } from '@localizer/format';
const result = currencyName('GBP');
Demo
Locale | Localized value |
---|---|
en-US | British Pound |
fr-FR | livre sterling |
de-DE | Britisches Pfund |
fi-FI | Englannin punta |
sv-FI | brittiskt pund |
ko-KR | 영국 파운드 |
hi-IN | ब्रिटिश पाउंड स्टर्लिंग |