2007 Dec 03 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
2007 Dec 03 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
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
2007 Dec 03 11:26 PM
2007 Dec 03 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
2007 Dec 03 11:37 PM
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |