Convert Type F to Type C without Exponent Value
I need to convert Type F to Type C without Exponenet Value. I want <fs_valu> to contain the value '60' not ' 6.0000000000000000E+00'.
lv_field = 'SAFTY'.
<fs_matloc>-SAFTY = ' 6.0000000000000000E+01'
I am using the code below but I don't know how to write the code to get rid of the exponenet.
IF field_int-type = 'F'.
ASSIGN COMPONENT lv_field OF STRUCTURE <fs_matloc>
Any help would be much appreciated.