跳至主要内容

Currencies

The Aghanim specifies monetary amounts as decimal integer numbers in minor units. The minor unit is the smallest unit of a currency and depends on the number of the currency decimals.

Currency list

Use the table below to know how many decimals each currency has. The Aghanim has the currencies in the ISO 4217 format.

CodeCurrencyDecimals
AEDUAE Dirham2
ARSArgentine Peso2
AUDAustralian Dollar2
BDTBangladesh Taka2
BGNBulgarian Lev2
BOBBolivia Boliviano2
BRLBrazilian Real2
CADCanadian Dollar2
CHFSwiss Franc2
CLPChilean Peso2 (differs from standard)
CNYYuan Renminbi2
COPColombian Peso2
CRCCosta Rican Colon2
CZKCzech Koruna2
DKKDanish Krone2
DZDAlgerian Dinar2
EGPEgyptian Pound2
EUREuro2
GBPPound Sterling2
GELGeorgian Lari2
GHSGhana Cedi2
HKDHong Kong Dollar2
HUFHungarian Forint2
IDRIndonesian Rupiah2
ILSNew Israeli Shekel2
INRIndian Rupee2
IQDIraqi Dinar3
JODJordanian Dinar3
JPYJapanese Yen0
KESKenyan Shilling2
KRWSouth-Korean Won0
KZTKazakhstani Tenge2
LKRSri Lanka Rupee2
MADMoroccan Dirham2
MMKMyanmar Kyat2
MOPMacau Pataca2
MXNMexican Peso2
MYRMalaysian Ringgit2
NGNNigerian Naira2
NOKNorwegian Krone2
NZDNew Zealand Dollar2
PENPeruvian Nuevo Sol2
PHPPhilippine Peso2
PKRPakistan Rupee2
PLNPolish Zloty2
PYGParaguay Guarani0
QARQatari Rial2
RONRomanian Leu2
RUBRussian Ruble2
SARSaudi Riyal2
SEKSwedish Krone2
SGDSingapore Dollar2
THBThai Baht2
TRYTurkish Lira2
TWDNew Taiwan Dollar2
TZSTanzanian Shilling2
USDUS Dollar2
VNDVietnamese New Dong0
ZARSouth African Rand2

Calculating minor units

Examples
  • 10 USD. The currency has two decimals, so in minor units it is 1000.
  • 10 JPY. The currency has no decimals, so in minor units it is 10.
  • 10 JOD. The currency has three decimals, so in minor units it is 10000.

需要技术支持?
联系我们的集成技术团队: integration@aghanim.com