Currency enum

Currency of the price.

The currency must be a valid currency code. See https://en.wikipedia.org/wiki/ISO_4217 for a list of valid currency codes.

Inheritance
Available extensions

Values

ADP → const Currency

Andorran peseta

AED → const Currency

United Arab Emirates dirham

AFA → const Currency

Afghan afghani

AFN → const Currency

Afghan afghani

ALK → const Currency

Old Albanian lek

ALL → const Currency

Albanian lek

AMD → const Currency

Armenian dram

ANG → const Currency

Netherlands Antillean guilder

AOA → const Currency

Angolan kwanza

AOK → const Currency

Angolan kwanza

AON → const Currency

Angolan novo kwanza

AOR → const Currency

Angolan kwanza reajustado

ARA → const Currency

Argentine austral

ARL → const Currency

Argentine peso ley

ARM → const Currency
ARP → const Currency

Argentine peso argentino

ARS → const Currency

Argentine peso

ATS → const Currency

Austrian schilling

AUD → const Currency

Australian dollar

AWG → const Currency

Aruban florin

AZM → const Currency

Azerbaijani manat

AZN → const Currency

Azerbaijani manat

BAD → const Currency

Bosnia and Herzegovina dinar

BAM → const Currency

Bosnia and Herzegovina convertible mark

BAN → const Currency
BBD → const Currency

Barbados dollar

BDT → const Currency

Bangladeshi taka

BEC → const Currency

Belgian convertible franc (funds code)

BEF → const Currency

Belgian franc

BEL → const Currency

Belgian financial franc (funds code)

BGL → const Currency

Bulgarian lev

BGM → const Currency
BGN → const Currency

Bulgarian lev

BGO → const Currency
BHD → const Currency

Bahraini dinar

BIF → const Currency

Burundian franc

BMD → const Currency

Bermudian dollar

BND → const Currency

Brunei dollar

BOB → const Currency

Boliviano

BOL → const Currency
BOP → const Currency

Bolivian peso

BOV → const Currency

Bolivian Mvdol (funds code)

BRB → const Currency

Brazilian cruzeiro

BRC → const Currency

Brazilian cruzado

BRE → const Currency

Brazilian cruzeiro

BRL → const Currency

Brazilian real

BRN → const Currency

Brazilian cruzado novo

BRR → const Currency

Brazilian cruzeiro real

BRZ → const Currency
BSD → const Currency

Bahamian dollar

BTN → const Currency

Bhutanese ngultrum

BUK → const Currency

Burmese kyat

BWP → const Currency

Botswana pula

BYB → const Currency

Belarusian ruble

BYN → const Currency

Belarusian ruble

BYR → const Currency

Belarusian ruble

BZD → const Currency

Belize dollar

CAD → const Currency

Canadian dollar

CDF → const Currency

Congolese franc

CHE → const Currency

WIR euro (complementary currency)

CHF → const Currency

Swiss franc

CHW → const Currency

WIR franc (complementary currency)

CLE → const Currency
CLF → const Currency

Unidad de Fomento (funds code)

CLP → const Currency

Chilean peso

CNH → const Currency
CNX → const Currency
CNY → const Currency

Renminbi

COP → const Currency

Colombian peso

COU → const Currency

Unidad de Valor Real (UVR) (funds code)

CRC → const Currency

Costa Rican colon

CSD → const Currency

Serbian dinar

CSK → const Currency

Czechoslovak koruna

CUC → const Currency

Cuban convertible peso

CUP → const Currency

Cuban peso

CVE → const Currency

Cape Verdean escudo

CYP → const Currency

Cypriot pound

CZK → const Currency

Czech koruna

DDM → const Currency

East German mark

DEM → const Currency

German mark

DJF → const Currency

Djiboutian franc

DKK → const Currency

Danish krone

DOP → const Currency

Dominican peso

DZD → const Currency

Algerian dinar

ECS → const Currency

Ecuadorian sucre

ECV → const Currency

Ecuador Unidad de Valor Constante (funds code)

EEK → const Currency

Estonian kroon

EGP → const Currency

Egyptian pound

ERN → const Currency

Eritrean nakfa

ESA → const Currency

Spanish peseta (account A)

ESB → const Currency

Spanish peseta (account B)

ESP → const Currency

Spanish peseta

ETB → const Currency

Ethiopian birr

EUR → const Currency

Euro

FIM → const Currency

Finnish markka

FJD → const Currency

Fiji dollar

FKP → const Currency

Falkland Islands pound

FRF → const Currency

French franc

GBP → const Currency

Pound sterling

GEK → const Currency

Georgian kuponi

GEL → const Currency

Georgian lari

GHC → const Currency

Ghanaian cedi

GHS → const Currency

Ghanaian cedi

GIP → const Currency

Gibraltar pound

GMD → const Currency

Gambian dalasi

GNF → const Currency

Guinean franc

GNS → const Currency

Guinean syli

GQE → const Currency

Equatorial Guinean ekwele

GRD → const Currency

Greek drachma

GTQ → const Currency

Guatemalan quetzal

GWE → const Currency

Guinean escudo

GWP → const Currency

Guinea-Bissau peso

GYD → const Currency

Guyanese dollar

HKD → const Currency

Hong Kong dollar

HNL → const Currency

Honduran lempira

HRD → const Currency

Croatian dinar

HRK → const Currency

Croatian kuna

HTG → const Currency

Haitian gourde

HUF → const Currency

Hungarian forint

IDR → const Currency

Indonesian rupiah

IEP → const Currency

Irish pound

ILP → const Currency

Israeli pound

ILR → const Currency

Israeli shekel

ILS → const Currency

Israeli new shekel

INR → const Currency

Indian rupee

IQD → const Currency

Iraqi dinar

IRR → const Currency

Iranian rial

ISJ → const Currency

Icelandic króna

ISK → const Currency

Icelandic króna

ITL → const Currency

Italian lira

JMD → const Currency

Jamaican dollar

JOD → const Currency

Jordanian dinar

JPY → const Currency

Japanese yen

KES → const Currency

Kenyan shilling

KGS → const Currency

Kyrgyzstani som

KHR → const Currency

Cambodian riel

KMF → const Currency

Comoro franc

KPW → const Currency

North Korean won

KRH → const Currency
KRO → const Currency
KRW → const Currency

South Korean won

KWD → const Currency

Kuwaiti dinar

KYD → const Currency

Cayman Islands dollar

KZT → const Currency

Kazakhstani tenge

LAK → const Currency

Lao kip

LBP → const Currency

Lebanese pound

LKR → const Currency

Sri Lankan rupee

LRD → const Currency

Liberian dollar

LSL → const Currency

Lesotho loti

LTL → const Currency

Lithuanian litas

LTT → const Currency

Lithuanian talonas

LUC → const Currency

Luxembourg convertible franc (funds code)

LUF → const Currency

Luxembourg franc

LUL → const Currency

Luxembourg financial franc (funds code)

LVL → const Currency

Latvian lats

LVR → const Currency

Latvian rublis

LYD → const Currency

Libyan dinar

MAD → const Currency

Moroccan dirham

MAF → const Currency

Malian franc

MCF → const Currency

Monégasque franc

MDC → const Currency
MDL → const Currency

Moldovan leu

MGA → const Currency

Malagasy ariary

MGF → const Currency

Malagasy franc

MKD → const Currency

Macedonian denar

MKN → const Currency

First denar

MLF → const Currency

Malian franc

MMK → const Currency

Myanmar kyat

MNT → const Currency

Mongolian tögrög

MOP → const Currency

Macanese pataca

MRO → const Currency

Mauritanian ouguiya

MRU → const Currency

Mauritanian ouguiya

MTL → const Currency

Maltese lira

MTP → const Currency

Maltese pound

MUR → const Currency

Mauritian rupee

MVP → const Currency
MVR → const Currency

Maldivian rufiyaa

MWK → const Currency

Malawian kwacha

MXN → const Currency

Mexican peso

MXP → const Currency

Mexican peso

MXV → const Currency

Mexican Unidad de Inversion (UDI) (funds code)

MYR → const Currency

Malaysian ringgit

MZE → const Currency

Mozambican escudo

MZM → const Currency

Mozambican metical

MZN → const Currency

Mozambican metical

NAD → const Currency

Namibian dollar

NGN → const Currency

Nigerian naira

NIC → const Currency

Nicaraguan córdoba

NIO → const Currency

Nicaraguan córdoba

NLG → const Currency

Dutch guilder

NOK → const Currency

Norwegian krone

NPR → const Currency

Nepalese rupee

NZD → const Currency

New Zealand dollar

OMR → const Currency

Omani rial

PAB → const Currency

Panamanian balboa

PEI → const Currency

Peruvian inti

PEN → const Currency

Peruvian sol

PES → const Currency

Peruvian sol

PGK → const Currency

Papua New Guinean kina

PHP → const Currency

Philippine peso

PKR → const Currency

Pakistani rupee

PLN → const Currency

Polish złoty

PLZ → const Currency

Polish zloty

PTE → const Currency

Portuguese escudo

PYG → const Currency

Paraguayan guaraní

QAR → const Currency

Qatari riyal

RHD → const Currency

Rhodesian dollar

ROL → const Currency

Romanian leu

RON → const Currency

Romanian leu

RSD → const Currency

Serbian dinar

RUB → const Currency

Russian ruble

RUR → const Currency

Russian ruble

RWF → const Currency

Rwandan franc

SAR → const Currency

Saudi riyal

SBD → const Currency

Solomon Islands dollar

SCR → const Currency

Seychelles rupee

SDD → const Currency

Sudanese dinar

SDG → const Currency

Sudanese pound

SDP → const Currency

Sudanese old pound

SEK → const Currency

Swedish krona

SGD → const Currency

Singapore dollar

SHP → const Currency

Saint Helena pound

SIT → const Currency

Slovenian tolar

SKK → const Currency

Slovak koruna

SLE → const Currency

Sierra Leonean leone (new leone)

SLL → const Currency

Sierra Leonean leone (old leone)

SOS → const Currency

Somalian shilling

SRD → const Currency

Surinamese dollar

SRG → const Currency

Surinamese guilder

SSP → const Currency

South Sudanese pound

STD → const Currency

São Tomé and Príncipe dobra

STN → const Currency

São Tomé and Príncipe dobra

SUR → const Currency

Soviet Union ruble

SVC → const Currency

Salvadoran colón

SYP → const Currency

Syrian pound

SZL → const Currency

Swazi lilangeni

THB → const Currency

Thai baht

TJR → const Currency

Tajikistani ruble

TJS → const Currency

Tajikistani somoni

TMM → const Currency

Turkmenistani manat

TMT → const Currency

Turkmenistan manat

TND → const Currency

Tunisian dinar

TOP → const Currency

Tongan paʻanga

TPE → const Currency

Portuguese Timorese escudo

TRL → const Currency

Turkish lira

TRY → const Currency

Turkish lira

TTD → const Currency

Trinidad and Tobago dollar

TWD → const Currency

New Taiwan dollar

TZS → const Currency

Tanzanian shilling

UAH → const Currency

Ukrainian hryvnia

UAK → const Currency

Ukrainian karbovanets

UGS → const Currency

Ugandan shilling

UGX → const Currency

Ugandan shilling

USD → const Currency

United States dollar

USN → const Currency

United States dollar (next day) (funds code)

USS → const Currency

United States dollar (same day) (funds code)

UYI → const Currency

Uruguay Peso en Unidades Indexadas (URUIURUI) (funds code)

UYP → const Currency

Uruguay new peso

UYU → const Currency

Uruguayan peso

UYW → const Currency

Unidad previsional

UZS → const Currency

Uzbekistani sum

VEB → const Currency

Venezuelan bolívar

VED → const Currency

Venezuelan digital bolívar

VEF → const Currency

Venezuelan bolívar fuerte

VES → const Currency

Venezuelan sovereign bolívar

VND → const Currency

Vietnamese đồng

VNN → const Currency
VUV → const Currency

Vanuatu vatu

WST → const Currency

Samoan tala

XAF → const Currency

CFA franc BEAC

XAG → const Currency

Silver (one troy ounce)

XAU → const Currency

Gold (one troy ounce)

XBA → const Currency

European Composite Unit (EURCO) (bond market unit)

XBB → const Currency

European Monetary Unit (E.M.U.-6) (bond market unit)

XBC → const Currency

European Unit of Account 9 (E.U.A.-9) (bond market unit)

XBD → const Currency

European Unit of Account 17 (E.U.A.-17) (bond market unit)

XCD → const Currency

East Caribbean dollar

XDR → const Currency

Special drawing rights

XEU → const Currency

European Currency Unit

XFO → const Currency

Gold franc (special settlement currency)

XFU → const Currency

UIC franc (special settlement currency

XOF → const Currency

CFA franc BCEAO

XPD → const Currency

Palladium (one troy ounce)

XPF → const Currency

CFP franc (franc Pacifique)

XPT → const Currency

Platinum (one troy ounce)

XRE → const Currency

RINET funds code

XSU → const Currency

SUCRE

XTS → const Currency

Code reserved for testing

XUA → const Currency

ADB Unit of Account

XXX → const Currency

No currency

YDD → const Currency

South Yemeni dinar

YER → const Currency

Yemeni rial

YUD → const Currency

Yugoslav dinar

YUM → const Currency

Yugoslav dinar

YUN → const Currency

Yugoslav dinar

YUR → const Currency

Reformed Yugoslav dinar

ZAL → const Currency

South African financial rand (funds code)

ZAR → const Currency

South African rand

ZMK → const Currency

Zambian kwacha

ZMW → const Currency

Zambian kwacha

ZRN → const Currency

Zairean new zaire

ZRZ → const Currency

Zairean zaire

ZWD → const Currency

Zimbabwean dollar

ZWL → const Currency

Zimbabwean dollar

ZWR → const Currency

Zimbabwean dollar

Properties

complementaryCurrency → bool
Complementary currency
final
decimalNumbers → int
The number of digits after the decimal separator.
final
fundsCode → bool
Funds code
final
hashCode → int
The hash code for this object.
no setterinherited
historicalCode → bool
ISO 4217 currency codes until their replacement by another currency.
final
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
noCountry → bool
Not really attached to a specific country at all.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
unofficialCode → bool
Non-standard codes
final

Methods

fixDecimals(double price) → double
Returns a value with a number of decimals that matches the currency.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

fixDecimalsForNumbers(double price, int decimalNumbers) → double
fromName(String? name) → Currency?

Constants

values → const List<Currency>
A constant List of the values in this enum, in order of their declaration.