Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Packed Decimal error? Getting wrong value

sudarshan_d29
Active Participant
0 Kudos

Hi friends,

I am getting wrong output and arthematic dump while running the code,

W_FINAL-CONS type quantity length 17 decimal 4.

W_IMRG-RECDV type quantity length 17 decimal 2

W_FINAL-CONS = 100000.0000 .

W_IMRG-RECDV = W_FINAL-CONS.

Output for W_IMRG-RECDV goes to "100000000.00"

Same program is working for other forms.

Thanks & Regards,

Sudarshan D

2 REPLIES 2

sudarshan_d29
Active Participant
0 Kudos

Attribute of my program "fixed-point arithmetic" is Not ticked.

Sorry, I am in hurry.

Found the solution.

Sandra_Rossi
Active Contributor
0 Kudos

Please close your question.