How to round to the nearist .5 or 1/2 ("half")

example:

I need
1.2 to become 1.0
1.25 to become 1.5
1.6 to become 1.5
1.75 to become 2

and so on…

thanks