2008 Dec 10 10:23 AM
Hi,
I am using FLTP-CHAR conversion function module, the problem i am facing is when i pass the FLTP value in the char value will be rounded off.
For ex: If FLTP value = 3.4942988715790001E+01, then CHAR value will be 34.9429887158.
U can find from the above ex. is that last 2 places 79 is rounded to 8. But i dont want this to happen.
Please help me out.
Thanks.
Hi,
I am using FLTP-CHAR conversion function module, the problem i am facing is when i pass the FLTP value in the char value will be rounded off.
For ex: If FLTP value = 3.4942988715790001E+01, then CHAR value will be 34.9429887158.
U can find from the above ex. is that last 2 places 79 is rounded to 8. But i dont want this to happen.
Please help me out.
Thanks.
2008 Dec 10 10:25 AM
this is how you do it:
l_temp TYPE c,
l_data TYPE char5,
l_float TYPE p DECIMALS 1.
l_float = wa_values-atflv.
l_data = l_float.
CONDENSE l_data.
2008 Dec 10 10:28 AM
Increase the DECIM place value and you will get the desired values...