ivy-wallet
ivy-wallet copied to clipboard
[BUG] Issue with digits after the comma when transfer from BYN to USD wallet
Please confirm the following
- [X] I checked the current issues for duplicate problems
Describe the bug
When I want to transfer some sum from one wallet with BYN currency to another wallet with USD, then the issue happens with currency and the final sum doesn't converge.
To Reproduce
-
Create two wallets with different currencies. In my example one with BYN, another with USD.
-
Transfer 163.42 BYN to another USD wallet and now try to adjust the sum according to the screenshot below:
-
It's not possible to receive $50 without pennies, because currency rate doesn't allows you to make it anyway.
Expected behavior
The sum after this transaction should be $50, without any pennies after comma.
Screenshots
No response
App version
Latest from Google Play
Smartphone
Google Pixel 8 Pro
Additional context
Maybe the issue connected with rounding in Java, but not sure.
Thank you @ArtemKuprin for raising Issue #3125! 🚀 What's next? Read our Contribution Guidelines 📚.
Tagging @ILIYANGERMANOV for review & approval 👀
Our UX on this screen is trash. We need to be able to set "from" and "to" amounts properly.