in reply to Best way to round a number.

Somewhat related: Re^4: Round time to nearest 15 or 30 minutes