Showing results for 
Search instead for 
Did you mean: 

problem in conversion

Former Member
0 Kudos


i m facing a prolem i m having one quantity having value in

metric tone but i want this quantity in KL , so i m dividing it by density (GML)

for this i changed the unit to KL for my unit field as i want it in KL .

now i i put the routine to divide

<b>quantityMetric tone) / quantity(GML)</b>

its giving me an error

<b>Arithmetical errors or conversion errors found in routine ROUTINE_0005 record 1432</b>

cud u plz tell y this error is coming

help will be appreciated

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Shellz,

"Arithmetical errors or conversion errors found in routine" means that while performing your routine, it has encountered an exception(arithmetic or conversion error while processing the routine)

I assume that in your case , there might be a DIVIDE BY ZERO error.

Can you check the field Quantity(GML) for the record you are encountering the error? It might be blank or ZERO, When ever you perform a Division it is better to check if the Value is intial or zero before you perform the calculation to avoid such errors.