Divide By Zero handling

IT it at plastipol.com
Fri Dec 18 12:00:44 EST 2020


Omnis 10.1 has no problems with divide by zero errors. I only get a message in the trace log.

Error evaluating calculation:	Divide by zero
rnd((ivAR_PRECIO_calc-ivMaestro.AR_PRECIO)*100/ivMaestro.AR_PRECIO;2)


No other annoyance. No runtime errors are reported.

regards

xavier



> El 18 dic 2020, a las 11:50, Mike Matthews - Omnis <omnis at lineal.co.uk> escribió:
> 
> Hello All,
> 
> Am I dreaming, was a new $pref added to handle the Divide by Zero functionality of Studio with v10.2?  In prev versions, Studio would continue, but in v10, it is much more strict about such occurrences.
> 
> Terrible if I am dreaming about one of the two Bobs talking about Divide error handling however, I need a break.
> 
> Thanks
> 
> Mike Matthews
> 
> Lineal Software Solutions
> Commercial House, The Strand<x-apple-data-detectors://1/1> Barnstaple, Devon, EX31 1EU<x-apple-data-detectors://1/1>
> 
> omnis at lineal.co.uk<mailto:mike.matthews at lineal.co.uk>
> 
> www.lineal.co.uk<http://www.lineal.co.uk/>
> 
> www.sqlworks.co<http://www.sqlworks.co>.uk
> 
> 
> 
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com
> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com 



More information about the omnisdev-en mailing list