Rounding a number to nearest 5 or 0

Doug Easterbrook doug at artsman.com
Sat May 2 18:13:30 UTC 2026


hi Andy.

I’ve done it for our payment windows to handle cash rounding when Canada got rid of the penny.   

I’ll dig up what we did and send it along.    



Doug Easterbrook

> On May 2, 2026, at 8:07 AM, Andy Hilton via omnisdev-en <omnisdev-en at lists.omnis-dev.com> wrote:
> 
> All
> 
> Having a rnd() brain fade day :)
> 
> If I want to round a number to the nearest 5 (i.e. 5 or 0) is there any easy one line way to do this ?
> 
> Must be a Kelly special surely….
> 
> Andy Hilton
> Totally Brilliant Software Inc
> Phone (US) : (863) 409 4870 
> Web : www.totallybrilliant.com 
> Helpdesk : https://totallybrilliantsoftware.supportsystem.com/
> Email : andyh at totallybrilliant.com
> 
> _____________________________________________________________
> Manage your list subscriptions at https://lists.omnis-dev.com
> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com



More information about the omnisdev-en mailing list