3 lines
76 B
C++
3 lines
76 B
C++
double round2 (double value) {
|
|
return (int)(value * 100 + 0.5) / 100.0;
|
|
} |