This question already has an answer here:
If the value is 200.3456
, it should be formatted to 200.34
.
If it is 200
, then it should be 200.00
.
This question already has an answer here:
If the value is 200.3456
, it should be formatted to 200.34
.
If it is 200
, then it should be 200.00
.
I think this is easier:
Note that this will actually do the rounding for you, not just formatting.