08-17-2007 7:58 AM
Hi,
I have a field in the selection screen, which is of type character.
I need to convert the integer to floating point.
Is there any function module to do so?
Please help me...
Thanks.
Kranthi.
08-17-2007 8:02 AM
I also need to know how to convert char to integer.
and then from integer to float
08-17-2007 8:09 AM
Why dont you directly assign it -
data : var1(10) type c value '1021.11',
var2 type i.
var2 = var1.
You may look into FMs -
MOVE_CHAR_TO_NUM
CONVERT_STRING_TO_INTEGER
Regards,
Amit
Reward all helpful replies.