‎2007 Jun 21 5:07 AM
hi guys,
need ur help.
i have a field with time interval in view viqmel. but the format is in exponential form. Can any one suggest me how to convert this exponential form to the normal time format.
Please reply urgently.
points will be awarded generously.
‎2007 Jun 21 5:13 AM
Hi
Check with the following info...
FMs -KKEK_CONVERT_FLOAT_TO_CURR &
CHAR_FLTP_CONVERSION
or
you can just move field with type F to type P.
DATA: NUM1 TYPE F VALUE '1E+02',
NUM2 TYPE P DECIMALS 2.
NUM2 = NUM1.
WRITE: / NUM2.
Hope this solves ur problem....
<b>do reward if useful....</b>
regards
dinesh
‎2007 Jun 21 5:10 AM
‎2007 Jun 21 5:11 AM
declare a type p var in your report and take the float value in this.
data : vdata type p decimals 2.
vdata = <your float value>.
write : / vdata.
regards
shiba dutta
null
‎2007 Jun 21 5:13 AM
Hi
Check with the following info...
FMs -KKEK_CONVERT_FLOAT_TO_CURR &
CHAR_FLTP_CONVERSION
or
you can just move field with type F to type P.
DATA: NUM1 TYPE F VALUE '1E+02',
NUM2 TYPE P DECIMALS 2.
NUM2 = NUM1.
WRITE: / NUM2.
Hope this solves ur problem....
<b>do reward if useful....</b>
regards
dinesh
‎2007 Jun 21 5:14 AM
hi,
check this flow it may help.
data: a type string value '10E+02'.
data: b type f.
data: c type p.
b = a.
c = b.
write:/ b, c.
Don't forget to reward if useful