2006 Jun 15 11:28 PM
Hi all,
How to convert decimal type length 3(e.g:25.0) to char type.......
Thanks in advance
2006 Jun 15 11:31 PM
Hi all,
How to convert decimal type length 3(e.g:25.0) to char type.......
Thanks in advance
2006 Jun 15 11:29 PM
hi
assign it to a char type field.
for eg,
data: f1 type p decimals 2 value '12.30',
f2(10) type c.
f2 = f1.
now f1 has been coverted to the datatype of the target field f2.
Cheers,
Abdul Hakim
2006 Jun 15 11:29 PM
2006 Jun 15 11:30 PM
hi,
data : var_dec type p decimals 3,
var_char(10).
<b>move var_dec to var_char.</b>
else use FM
CALL FUNCTION <b>'CEVA_CONVERT_FLOAT_TO_CHAR'</b>
EXPORTING
FLOAT_IMP = P_ORIGEN
FORMAT_IMP = CAMPO_FLOAT
IMPORTING
CHAR_EXP = C_DESTINO.
Regards,
Santosh
2006 Jun 15 11:31 PM
2006 Jun 15 11:37 PM
2006 Jun 16 2:46 AM
2006 Dec 13 8:22 PM
I have the same problem but i need to convert from P to C in unicode program. Move, assign or write commands give me an error saying "not mutually convertable in a unicode program" Please Help
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |