Javascript roundoff number to nearest 0.5 - Stack Overflow

Javascript roundoff number to nearest 0.5 - Stack Overflow