Zero Decimal Currencies
Most currencies support 2 decimal places, however, there are some currencies which support 0 or 3 decimal places.
When you request a quote for one of the Zero Decimal Currencies, we apply automatic rounding to the nearest integer.
List of Currencies with Zero Decimal Places:
We have a total of 24 currencies where decimal places are not supported.
Currency Code | Currency Name |
---|---|
BIF | Burundi Franc |
CLP | Chilean Peso |
DJF | Djibouti Franc |
GNF | Guinea Franc |
HUF | Hungary Forint |
JPY | Japan Yen |
KRW | S. Korea Won |
LBP | Lebanese Pound |
LAK | Laos Kip |
MMK | Myanmar Kyat |
PYG | Paraguay Guarani |
RWF | Rwanda Franc |
TWD | Taiwan Dollar |
UAH | Ukraine Hryvnia |
UGX | Uganda Shilling |
VND | Vietnam Dong |
UZS | Uzbekistan Som |
VUV | Vanuatu Vatu |
XOF | West African CFA Franc |
XAF | Central African CFA Franc |
XPF | French Polynesia Franc |
ISK | Iceland Krona |
KHR | Cambodia Riel |
KMF | Comoros Franc |
Example Request and Response
In the below scenario, you can see that when a quote is requested for USD to ISK with the sellAmount
as 100, the converted amount is rounded from 13859.93 to 13860
{
"sellCurrency": "USD",
"buyCurrency": "ISK",
"sellAmount": 100
}
{
"quoteId": "709daf2c-e05b-4e37-a000-42ef96cd443c",
"sellCurrency": "USD",
"buyCurrency": "ISK",
"sellAmount": 100,
"buyAmount": 13860,
"rate": 138.5993,
"fee": 0,
"createdTime": "2025-01-16T10:08:42.7857819Z",
"quoteExpiry": "2025-01-17T10:12:02.6700689Z",
"valueDate": "2025-01-17"
}
Similarly, when a quote is requested with a decimal in the buyAmount
, the amount 1000.55 is rounded to 1001 before providing the quote.
{
"sellCurrency": "USD",
"buyCurrency": "ISK",
"buyAmount": 1000.55
}
{
"quoteId": "2597ee28-adb6-41fa-8c5d-ac2bdy067248b",
"sellCurrency": "USD",
"buyCurrency": "ISK",
"sellAmount": 7.22,
"buyAmount": 1001,
"rate": 138.5698,
"fee": 0,
"createdTime": "2025-01-16T10:18:47.841491Z",
"quoteExpiry": "2025-01-17T10:22:07.7628721Z",
"valueDate": "2025-01-17"
}
Updated about 2 months ago