09-30-2008 10:52 AM
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
09-30-2008 10:57 AM
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
09-30-2008 10:57 AM
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