It is easy enough to round (nearest, up or down) to a specified number of decimal places, but what if you want to round to the nearest half? This is not something "standard" in functions provided, so a combination of other things are required.
Firstly, the code
) / 5,
) * 5
To explain how it works
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.