ID : 462
Rounding to the Nearest Even Number
Rounding processing to a direction where rounding error is the least significant.
If the fraction is just at the median value, the value is rounded to the nearest even number.
This is a rounding processing method without bias.
Example of Rounding to Integer Number
Rounding to integer number means so called rounding off. It will round the exact middle number, such as *.500 to the nearest even number.
0.4 → 0
0.5 → 0
0.5001 → 1
0.6 → 1
1.4 → 1
1.5 → 2
1.6 → 2
2.5 → 2
3.5 → 4
4.5 → 4
-0.5 → 0
-1.5 → -2
-2.5 → -2
-3.5 → -4
-4.5 → -4
ID : 462