N=int (n * 100 + 0.5)/100.0;
Want to help the two statements expressing what meaning, thank you!
CodePudding user response:
From the result is rounded part n
What's the context?
CodePudding user response:
Wrong, n, n * 100 (+ 0.5) first to int, divided by a floating, or floating
CodePudding user response: