Skip to Content

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

Exponential number

Hi,

I have a .txt file that I'm uploading to a Z table.

In the .txt file I have some numbers like 7.77E-10 that are giving me problems when I try to assign it to a field of type DEC.

Anyone have an idea of what do I need to do to solve this problem?

Tags:
replied

what you actually have is a character field that you need to convert to a float...try this:

data f type f.

data c(20) type c value '7.77E-10'.

call function 'CHAR_FLTP_CONVERSION'

exporting string = c

importing flstr = f.

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