‎2007 Jun 07 6:51 AM
Hi,
i have one doubt.Is it possible to move the floating point data type into char data type.
floating type : ausp-atflv is the floting poing(i_atflv).
ws_char is the character type.
move i_atflv to ws_char.
Is it possible?
Thanks & Regards,
sudhakar
‎2007 Jun 07 6:56 AM
Yes, it is possible
Ex: Float = '3.543'.
MOVE FLOAT TO CHAR.
CHAR will have 3.543E+00
Reward points to all useful answers.
Regards,
SaiRam
‎2007 Jun 07 6:52 AM
Hi Sudhakar,
Yes it is possible.
Reward points if useful.
Regards,
Atish
‎2007 Jun 07 6:53 AM
‎2007 Jun 07 6:54 AM
‎2007 Jun 07 6:53 AM
‎2007 Jun 07 6:54 AM
hi,
chk this.
* Converting type p to type c
DATA: p1(4) TYPE P VALUE 124,
c1(4) TYPE.
MOVE: p1 TO c1.
write c1.Rgds
Anversha
‎2007 Jun 07 6:54 AM
‎2007 Jun 07 6:55 AM
hi suhhakar goud goud ,
Its Possible.
Check this code,
data : a type f value '12.45',
b(10).
move a to b.
write : b.
uline.
write : a.
Thanks,
Reward If Helpful.
‎2007 Jun 07 6:56 AM
Yes, it is possible
Ex: Float = '3.543'.
MOVE FLOAT TO CHAR.
CHAR will have 3.543E+00
Reward points to all useful answers.
Regards,
SaiRam
‎2007 Jun 07 7:07 AM
Hi,
Thanks for all replies.i will assign points to all.
Thanks & regards,
sudhakar.
‎2007 Jun 07 12:47 PM
Hi,
yes you can move floating pointr data into character variable.
Regards
Jitendra