I'm looking to round values like
2.3913 -> 2.5 4.6667 -> 4.5 2.11 -> 2
2.3913 -> 2.5
4.6667 -> 4.5
2.11 -> 2
How can I manage this in SQL?
Thanks
SELECT ROUND(2.2 * 2, 0) / 2
gets you to the nearest .5
2.1m questions
2.1m answers
60 comments
57.0k users