I know I can modify the total from 2 decimals to 0 decimals. But I don’t know if I can round a total discount that I calculate within my pseudo code.
I tried to add 5000 lines of code
if (discount==0.01) discount = 0;
if (discount==0.02) discount = 0;
if (discount==0.51) discount = 1;
But this does not seem to work.