I'm having a compute statement like below
Code: Select all
COMPUTE 2XXM-VARPC = (100 * ((100 + 2XXM-VARPC) /
102,10) - 100)
Say for an example is I'm passing 13.44 (to 2XXM-VARPC) then the expected result must be 11.11. but I'm getting 11.00.
like wise whenever the result is negative say -9.10 then it is rounded to 10.00.
The field 2XXM-VARPC is declared as below.
Code: Select all
09 2XXM-VARPCX.
11 2XXM-VARPC PIC S9(03)V99 COMP-3
Bunch of Thanks in advance!