12-03-2007 11:22 PM
hi,
I have exponent value in data type string. I want to convert that exponent value to decimal.
Is there any FM or is there any logic please..help..
main problem exponent value data type is string.
please help
Thanks
venkatesh p
12-03-2007 11:27 PM
You can try like this:
data: i_s type string value '1E-02',
i_f type f, " value '1E-02',
i_p(12) type p decimals 5.
write: / i_s.
i_f = i_s.
write:/ i_f.
i_p = i_f.
write: / i_p.
Regards,
Naimesh Patel
12-03-2007 11:26 PM
12-03-2007 11:27 PM
You can try like this:
data: i_s type string value '1E-02',
i_f type f, " value '1E-02',
i_p(12) type p decimals 5.
write: / i_s.
i_f = i_s.
write:/ i_f.
i_p = i_f.
write: / i_p.
Regards,
Naimesh Patel
12-03-2007 11:37 PM