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

Decimal value division problem

Former Member
0 Likes
1,595

Hi we are dividing vbrp-fkimg and vbrp-kzwi1, now here one of the fields has 3 decimals and teh second has 2 decimals becuase of this the value is coming wrong , could someone please guid on how to handle this situation where number of decimals is different.

Thanks a lot

3 REPLIES 3
Read only

suresh_datti
Active Contributor
0 Likes
650

move the field to another variable( with 3 decimals) & then divide..

~Suresh

Read only

Former Member
0 Likes
650

Hi,

Move your variable of 2 decimals into another new variable with 3 decimal places. & then divide. This will give you correct result with 3 decimal places.

Read only

0 Likes
650

hi Guru,

Move the 2 decimal variable to a 3 decimal variable and then divide ....Hope this helps

Regards,

Santosh