I am using ERPNEXT 16, self hosted where the currency precision is set to 4 and Float precision is 2
This usually works fine, but the item on the last line doesn’t follow the price format. Prices have been configured to have two decimal places, but they are rounded to tenths.
For example, 11.20, 19.30, and so on.
If you look at the image, the sum of the taxable amount and the tax gives a value rounded to tenths, which is as desired.
If you look at the last line, the result has cents, but the previous lines are rounded to tenths.
Notice that the second-to-last line serves my purpose, but I’m going to remove the last line and the rounding of the second-to-last line changes and it ends up with cents.
It seems the same, but it isn’t. However, the rounding adjustment was the first thing I had to deal with. Once that was resolved, my next problem was reconciling my sales detail report, which didn’t match up.
I had to set the floating precision to 2 and the currency precision to 4, beside I had to setup all fields related to Sales detail report to 2 digit
The overall precision on quotation, sales order and invoice is correct but when you apply tax breakup the last line of the items fail in rounding. If you add another line of item the previous failed line it corrects itself automatically, but the last line entered is still inaccurate.
My issue is not a rounding topic exactly, rather is an unexpected behavior of rounding like show in the next picture, additionally this behavior don’t appear in the firsts lines, randomly since the next lines
I am working with erpnext 16, self hosted, banker’s rounding method, float precision like 2 . currency precision like 4, tax included in price and price showing 2 decimals but in fact rounded to tenths like instance 2.80, 30.40 and so on