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: 

Decimal Conversion

Former Member
0 Kudos

Hi

I need to convert exponential form to decimal. is there any FM available..

For example

exp data is 1.1160000000000000E+04

output is 3.10..

Cheers

Christina

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hello,

I did the following code. the result is fine

data: exp type f VALUE '1.1160000000000000E+04',

exp2(5) type p decimals 2.

write: exp.

exp2 = exp.

write : exp2.

Out put is 1.1160000000000000E+04 11,160.00.

Hope it helps,

Raj

1 REPLY 1

Former Member
0 Kudos

Hello,

I did the following code. the result is fine

data: exp type f VALUE '1.1160000000000000E+04',

exp2(5) type p decimals 2.

write: exp.

exp2 = exp.

write : exp2.

Out put is 1.1160000000000000E+04 11,160.00.

Hope it helps,

Raj