cancel
Showing results for 
Search instead for 
Did you mean: 

Converting FLTP data type data to normal format

AA3
Participant
0 Kudos

i would like to convert a standard key figure (9ADDKF1) in data source   information setup as FLTP to normal number format with decimals , is there a  standard  conversion available if no what options can i use ?

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member186445
Active Contributor
0 Kudos
Loed
Active Contributor
0 Kudos

Hi,

Use this as your basis (sample code):

DATA: float_sample TYPE float,

          formatted_text TYPE c LENGTH 16.

float = '1.23456E+03'.

WRITE  float TO formatted_text EXPONENT 0.

write : float.

write : / formatted_text.

You may also refer in this thread:

Regards,

Loed

former_member186696
Active Contributor
0 Kudos