msin
Total posts: 7
17 Dec 2016 23:13

Hello

I would like that Emerald calculates an amount rounded to .10 or 0.05

For example : CHF 15.92 after discount should be CHF 15.90

like round(Amount*20,0) / 20 ( for 0.05 rounding)

If there is no solution, it is possible that I can change the code ?

Thank you :-)

Best regards,

Marcel

Last Modified: 30 Dec 2016


Sergey
Total posts: 13,748
19 Dec 2016 05:37

That would be very hacky hack. You would hack Emerakld in fewplaces. I would not recomend you.

Why .92 does not work for you?


msin
Total posts: 7
30 Dec 2016 23:31

you are right. Instead of make percent I make fix amount is the same at the end.

Powered by Cobalt