“Rounding1” (Solution)

Answer

1
| Number | Round | Floor | Ceiling | Truncate | Format |
2
| -2.9 | -3 | -3 | -2 | -2 | -3 |
3
| -0.5 | 0 | -1 | 0 | 0 | -1 |
4
| 0.3 | 0 | 0 | 1 | 0 | 0 |
5
| 1.5 | 2 | 1 | 2 | 1 | 2 |
6
| 2.5 | 2 | 2 | 3 | 2 | 3 |
7
| 2.9 | 3 | 2 | 3 | 2 | 3 |
Copied!

Explanation

If the number is exactly halfway between two possibilities, the following rules will work:

Links

Problem
Copy link