Company's default accounts are GBP, with floating precision of 4, and currency precision 2.
An invoice of a total 1560 EUR, with exchange rate set to 0.858762000, the calculated GBP total amount is 1339.65.
But using the Microsoft Windows calculator, the value shown is:
1560*0.858762 = 1,339.66872
1560*0.85876 = 1,339.6656
1560*0.8587 = 1,339.572.
Where did ERPNext 1339.65 value come from? this looks like a bug
If the full exchange rate is used, the expected value to see in ERPNext is 1339.67.
If the system config of 4 decimals precision is used to round the exchange rate to 0.8588, the expected value is 1,339.73
This issue has been automatically marked as inactive because it has not had recent activity and it wasn't validated by maintainer team. It will be closed within a week if no further activity occurs.
Information about bug
Company's default accounts are GBP, with floating precision of 4, and currency precision 2. An invoice of a total 1560 EUR, with exchange rate set to 0.858762000, the calculated GBP total amount is 1339.65. But using the Microsoft Windows calculator, the value shown is:
Where did ERPNext 1339.65 value come from? this looks like a bug
If the full exchange rate is used, the expected value to see in ERPNext is 1339.67. If the system config of 4 decimals precision is used to round the exchange rate to 0.8588, the expected value is 1,339.73
Module
selling
Version
ERPNext: v12.28.0 (version-12) + 13.18 Frappe Framework: v12.25.0 (version-12)
Installation method
docker
Relevant log output / Stack trace / Full Error Message.
No response