Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect conversions on bigger amounts #56

Closed
nakhtar313 opened this issue Oct 17, 2023 · 1 comment
Closed

Incorrect conversions on bigger amounts #56

nakhtar313 opened this issue Oct 17, 2023 · 1 comment

Comments

@nakhtar313
Copy link

I'm converting USD to PKR. The conversion rate returned by the package is 0.0036 on Oct 17, 2023. Google also shows the same conversion rate. Now here's the tricky part: on the front, Google is showing a decimal precision of 2 digits, but during conversion, it uses more than 2 digits, which is the actual value (0.00362115).

Therefore, when I convert 148,000,000 PKR to USD, the package returns 532,800. However, when I convert the same amount through Google, it returns me 535,952.84 USD. The difference is 2-3k USD, which is huge and this difference grows as the original amount grows

I've attached the images for reference.

Screenshot 2023-10-17 at 4 46 49 PM Screenshot 2023-10-17 at 4 52 18 PM
paul-shuvo added a commit that referenced this issue Oct 22, 2023
@paul-shuvo
Copy link
Owner

I've pushed some changes to the latest version; it should be fixed now. If the problem persists, feel free to open this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants