Application Development and Automation 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: 
Read only

Packed Decimal error? Getting wrong value

sudarshan_d29
Active Participant
0 Likes
1,039

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
Read only

sudarshan_d29
Active Participant
0 Likes
745

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

Sorry, I am in hurry.

Found the solution.

Read only

Sandra_Rossi
Active Contributor
0 Likes
745

Please close your question.