Currency Converter

부분 유료
Verified
분류별 Geo API | 업데이트됨 il y a 24 jours | Finance
인기

9.9 / 10

지연 시간

173ms

서비스 수준

100%

Health Check

N/A

모든 토론으로 돌아가기

Rounding Error

Rapid account: Unisuredev
unisuredev
il y a 3 mois

Hi Team,
We’ve found an error with rates where the exchange rate is lower than 0.0001, such as VND to USD. On the api it returns as 0.0000. This means we get a divide by zero error. We have resolved this by changing the amount to 100 and then dividing by 100 in our app to get the exchange rate, but we were wondering if there’s any plans to handle these situations? The reason we grab the rate with a value of 1 by default is because we might be doing multiple conversions with the same currency and so we want to limit the API calls we have to do and so grab the rate and then use that on our app.

Rapid account: Natkapral
natkapral Commented il y a 3 mois

Hi.

Thank you for bringing this to our attention. We will investigate and include extra digits after the decimal point to ensure the value is not zero.

아래에 의견을 추가하고 토론에 참여하세요.

새 댓글을 게시하려면 로그인 / 가입