>>
>>I am surprised by the complexity of some of the other solutions you received. Simply divide by 5, round, and then multiply by 5 again.
>
>Ah, but you've had all day to think about it and come up with a smart-arse solution. Some of us gave our solutuions hours ago! :-)
>
>Terry
Actually, I happened to know the solution by heart already. Otherwise, I might also have looked for complicated workarounds.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)