Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Decimal Conversion

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

Tags:
Former Member
Former Member replied

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

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question