Skip to Content

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

Convert float to date

Hello everyone,

I need to convert "2.006123100000000E+07" to a date format.

How can I do it ?

Thanks in advance.

Tags:
replied

Hello David,

You could it like this:

DATA:

zlv_float TYPE f VALUE '2.006123100000000E+07',

zlv_integer TYPE i,

zlv_date TYPE d.

zlv_integer = zlv_float.

write zlv_integer to zlv_date.

Regards,

John.

1 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question