I seriously doubt you need to round anything, ever. This is very, very rarely needed. It looks like you want somewhat different thing
: you only need to present some value in a form of a string as a rounded value
, for presentation purposes only; and this is a different story. This is not rounding per se but formatting, much more appropriate thing.
with appropriate format specifier:
Basically, you would need to use the custom format with '0', '#' and '.' placeholders (the last link). Behind the scene, your data will be properly rounded, but without any risk of rounded values sneaking into the calculations, so it's not only easier
, but also much safer