Answer the question
In order to leave comments, you need to log in
Why does ModX count tv incorrectly?
In the template, I calculate the price.
0
where VhodCenaZabor = 58
58*0.0385 = 2.233
2.233 * 1.6 = 3.5728
but for some reason modx displays the result 3.2
2.233 for some reason it rounds up to 2 during the last action, why? Tell me please. Is there an alternative calculation?
Answer the question
In order to leave comments, you need to log in
I tried it on my site - everything is correct. Maybe your TV value is not 58, but 51.94?) Or in the TV settings there is a ban on decimal numbers and rounding is incorrect
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question