Is there a way to apply an Additional Discount to the rounded today instead of the Net Total.

For example I have a Net Total of 312.816000 that has a 15% discount on top of that. ERPNext takes the unrounded Net Total and applies a discount of 46.922400.

The math ERPNext does is

312.816000

-46.922400

=265.893600 (265.89)

On an actual invoice however you would see the following which doesn’t add up

312.82

-46.92

=265.89

I am trying to get the total as 265.90 by doing

312.82

-46.923

=265.897 (265.90)

The actual invoice would see

312.82

-46.92

=265.90

Thanks