Auto rounding does not work properly

Can you give tutorial for this…

Even if someone did that topic is unrelated to your requirement other than it happens to use the Math.ceil function.

You need to do this;