I want to round a number to the nearest 0.5. Not every factor of 0.5, just the 0.5s.
0.5
For example, 0.5, 1
0.5, 1