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 exponent stored in a string to decimal

Former Member
0 Kudos

I have the value 8.000000000000+E01 stored in a string. I want to display the value as 80.

Please help. Is there any standard function module for this ???

1 REPLY 1

amit_khare
Active Contributor
0 Kudos

Try this code -

data: i_s type string value '1E-02',

i_f type f, " value '1E-02',

i_p(12) type p decimals 5.

write: / i_s.

i_f = i_s.

write:/ i_f.

i_p = i_f.

write: / i_p.

Regards,

Amit