Hello , how come that the value of A after computation is 185.07 instead of 184.92 ?
A PIC S9(9)V99 COMP-3.
B PIC S9(9)V99 COMP-3.
C PIC S9(6)V9(3) COMP-3.
D PIC S9(6)V9(3) COMP-3
A=00000000000 ; B=00030000000 ; C=000005810 ;D=000062000
COMPUTE A ROUNDED = A + B * ( 1 - C/ 1000.0 ) * D / 100000.00.
A PIC S9(9)V99 COMP-3.
B PIC S9(9)V99 COMP-3.
C PIC S9(6)V9(3) COMP-3.
D PIC S9(6)V9(3) COMP-3
A=00000000000 ; B=00030000000 ; C=000005810 ;D=000062000
COMPUTE A ROUNDED = A + B * ( 1 - C/ 1000.0 ) * D / 100000.00.