‎2008 Mar 24 4:41 AM
hi ,
can anyone , plz help me with a funtion module which converts floating value to a int or char , i want to convert 2.0000000000000000E+05 to 200,000.00
feedback , is highly appretiated.
‎2008 Mar 24 4:52 AM
Hi,
Try like below.......
data : v_result type p DECIMALS 2,
v_input TYPE f VALUE '2.0000000000000000E+05'.
write v_input.
move v_input to v_result.
write / v_result.Cheers,
jose.
‎2008 Mar 24 4:53 AM
Found this function module.. But not sure how it works..
CEVA_CONVERT_FLOAT_TO_CHAR
‎2008 Mar 24 4:53 AM
Hi,
Check This Link....
http://www.abapcode.sapbrainsonline.com/2008/03/compute-abap-keyword.html
Reward points if useful....
Regards
AK
‎2008 Mar 24 6:14 AM
hi,
Try with this FM
HRCM_AMOUNT_TO_STRING_CONVERT Converts an amount to a character string
Hope this helps, Do reward.