08-27-2007 5:45 AM
hi everyone:
I have a problem about how to convert the numbers ?
it is below:
4,7100000000000E+02=================>4,71
I thought there is a function to do it .
So pls help .
thanks in advance .
Regards.
Nick
08-27-2007 6:10 AM
08-27-2007 6:12 AM
Hi Nick,
Just try this code. U will get idea.
Report ZCONVERT.
data decimal type f value '345'.
****SEE EVERYTHING DEPENDS UPON U R SPECIFIED DECIMAL NUMBER
****IN THE PACK DATA TYPE
****exact syntax is..... DATA no_er TYPE P DECIMALS number of decimals.
data integer type p .
write : decimal.
integer = decimal.
write integer color 5.
Regards,
Surya
08-27-2007 6:18 AM
Hi,
<b>U please try in SE37, using CONVERT function module.</b>
Reward if found useful.