G
Guest
Hi there
My .asp application draws data from a number of sources, converts the
results to type.double and does various calculations with these figures.
Because of data entry errors on the system from which some of the data is
drawn (this system is unfortunately not under my control so I can not sort
this problem out at source....) I occasionally get Divide by Zero Exceptions
which crash my application.
Does anyone have a clever (or otherwise) way of catching this particular
error and inserting a value of 0 in to the result instead of crashing ?
Any help would be appreciated
My .asp application draws data from a number of sources, converts the
results to type.double and does various calculations with these figures.
Because of data entry errors on the system from which some of the data is
drawn (this system is unfortunately not under my control so I can not sort
this problem out at source....) I occasionally get Divide by Zero Exceptions
which crash my application.
Does anyone have a clever (or otherwise) way of catching this particular
error and inserting a value of 0 in to the result instead of crashing ?
Any help would be appreciated