How do you change a double to only show one decimal? I'm not trying to round it but to only display one decimal of a number.
For example, for 6.7542, I want it to display to 6.7 not 6.8.
Thanks.
How do you change a double to only show one decimal? I'm not trying to round it but to only display one decimal of a number.
For example, for 6.7542, I want it to display to 6.7 not 6.8.
Thanks.