How to round figure the numbers

I want show 3 digit after round figer, how to do?

You can achieve it simply with a little logic

  1. Add the balance to some variable
  2. Now check the length of the variable

And then you can trim the text after the length of 3 from decimal

I hope it helps

1 Like

2 Likes