Rounding decimals

I am trying to round to specific amount of digits what can I use to accomplish this?

for example I have a number: 0.404532
and I want to get: 0.4045

Have a look here on some functions good to know

Math.Round should do this. More Information you can find on .Net docu

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.