Firell.Standards.ISO4217
1.1.0
Prefix Reserved
dotnet add package Firell.Standards.ISO4217 --version 1.1.0
NuGet\Install-Package Firell.Standards.ISO4217 -Version 1.1.0
<PackageReference Include="Firell.Standards.ISO4217" Version="1.1.0" />
<PackageVersion Include="Firell.Standards.ISO4217" Version="1.1.0" />
<PackageReference Include="Firell.Standards.ISO4217" />
paket add Firell.Standards.ISO4217 --version 1.1.0
#r "nuget: Firell.Standards.ISO4217, 1.1.0"
#:package Firell.Standards.ISO4217@1.1.0
#addin nuget:?package=Firell.Standards.ISO4217&version=1.1.0
#tool nuget:?package=Firell.Standards.ISO4217&version=1.1.0
ISO 4217
This package includes international standard currency codes, along with related information that may be useful in different contexts.
Features
- Currency codes (numeric, alphabetic)
- Official, native, and common currency names
- Currency symbols
- Minor units
- Country associations
- Commodities and specialized currencies
Usage
Get currencies & commodities
Access the different lists of currencies using predefined properties in the ISO4217 class.
var currencies = ISO4217.Currencies;
var specializedCurrencies = ISO4217.SpecializedCurrencies;
var commodities = ISO4217.Commodities;
Alternatively, you can get specific currencies using their predefined currency property or their international codes:
var euro = CurrencyInfo.Euro;
var danishKrone = ISO4217.GetCurrencyByCode("DKK");
var unitedStatesDollar = ISO4217.GetCurrencyByCode("840");
Models
public partial record CurrencyInfo
{
public string CommonName { get; init; }
public string NativeName { get; init; }
public string OfficialName { get; init; }
public string? Symbol { get; init; }
public string NumericCode { get; init; }
public string AlphabeticCode { get; init; }
public Dictionary<string, string> Countries { get; init; }
public int? MinorUnit { get; init; }
}
Each model includes a custom string representation for easy printing and debugging:
Common Name: Krone
Native Name: Dansk Krone
Official Name: Danish Krone
Symbol: kr.
Numeric Code: 208
Alphabetic Code: DKK
Countries: Kingdom of Denmark (DNK), Faroe Islands (FRO), Greenland (GRL)
Minor Unit: 2
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- No dependencies.
-
net8.0
- No dependencies.
-
net9.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Firell.Standards.ISO4217:
| Package | Downloads |
|---|---|
|
Firell.Standards
Meta-package that combines the multiple Firell Standards libraries into one package for convenience. |
GitHub repositories
This package is not used by any popular GitHub repositories.