In purchase order the rounding adjustment values getting wrong?

Hello Team ,
i have create two purchase order .in 1st purchase order the
Case1:-
grand total ammount == ₹ 85,900.50
rounding adjustement== ₹ -0.50[why this neagative]
Rounded Total (INR)==₹ 85,900.00

Here in case 1 the rounding adjustment is getting negative values

Case2:-
grand total ammount == ₹ 32,943.50
rounding adjustement== ₹ 0.50 [why this positve]
Rounded Total (INR)==₹ ₹32,944.00

Here in case 2 the rounding adjustment is getting positive values

so here in case 1 rounding adjustment will display -50 and in total it consider complete value
and in case 2 the rounding adjustment will display +50 and in total it consider the next value why this happen,what is the diffrence can any one help for this. which one is calculating the correct rounded amount and why this two are diffrent values showing.

Thanks
which is the correct

i experienced this too… anyone has a solution for this ?

Thank you

We use Banker’s rounding algorithm, where it rounds to nearest even integer in case of .5

https://wiki.c2.com/?BankersRounding