Is it possible to output no more than two decimal places using Double.ToString ?
10.2345 โ "10.23" 10.0 โ "10" 10.20 โ "10.2" 100 โ "100" If so, how?
Is it possible to output no more than two decimal places using Double.ToString ?
10.2345 โ "10.23" 10.0 โ "10" 10.20 โ "10.2" 100 โ "100" If so, how?
Source: https://ru.stackoverflow.com/questions/552626/
All Articles