Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 143529

DecRound not working as expected sometimes

$
0
0

I have to round some field data with 2 decimal positions, when i run it in a job (client side), it just works as expected:

it works because, in this case, i want to get 110.03, that is the right number rounded.

But, when i try to use this one in a web server, it just does not get rounded, i just get 110.02, instead of 110.03 (the right value). See the image:

See decRounded, the value is 110.025, and this rounde should be 110.03 instead of 110.02,

Is there a reason for this behavior?


Viewing all articles
Browse latest Browse all 143529

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>