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: 

Convert float to packed decimal

Former Member
0 Kudos

Hi Gurus,

can you plz solve following.

I have afields as below,.

it_plmk-toleranzob

I have to convert value of above this field up to it_plmk-stellen dacimal places.

where value of it_plmk-stellen is 4.

for exapmles.

it_plmk-stellen = 4

it_plmk-toleranzob = 1.1799999999999999E+00

I want it_plmk-toleranzob to be 1.1800. how can i do.

Regards

Rajesh

1 REPLY 1

Former Member
0 Kudos

Hi,

You can try with the FM 'MURC_ROUND_FLOAT_TO_PACKED'.

Hope it works.

Thanks,

Sandeep.