Hi, I have a CL program which uses WRKQRY to generate a report out of it. Now I have a requirement to change a field which holds Quantity and I want to divide this by 10 to the power of another field say DecFld. ie if Quantity is 359686 and DecFld is 2, I want 359686/10**2 = 3596.86 . Is it possible to do this kind of 10 to the power in 'DEFINE RESULT FIELD' part? If so please give me the syntax for that.
August 21, 2013 7:17 AM
August 23, 2013 1:39 PM