11-15-2016 11:36 AM
Hi Team,
I have a below scenario and can u help me out in this .
data : w_a type p decimal 2,
w_b type p decimal 3.
w_temp = w_a / w_b .
Value of w_temp is getting varied due to different decimal places .
Can i know , how to fix it .
eg :
w_a = 1350.00
w_b = 10.000
w_temp = 1.350
But, I need output as 135.00
Regards,
Karthik S
11-15-2016 11:42 AM
Hi,
Did you switch 'fixed point arithmetic' in program's attributes?
Regards,
Eli