Well, I am using %f for displaying float values in my string. However, the values are too accurate (around 6 decimal digits after the point). I’d like to only display 1 decimal. But how?
Well, I am using %f for displaying float values in my string. However, the
Share
%0.2for some other number after the decimal point.