09-22-2008 12:45 PM
i experts,
in the variable mydecimal which is of type p
i m sroring the value 1.7 in this now i have to transfer
only 1 to some variable which is of char type ,but it is
only transferring * ,plz help me to solve this,
i need to transfer only 1.
09-22-2008 12:48 PM
hi,
pls. have a look at the following sample:
DATA : p TYPE p DECIMALS 3 VALUE '1.5'.
DATA : c(10) TYPE c.
c = FLOOR( p ).
hope this helps
ec
09-22-2008 12:47 PM
09-22-2008 12:48 PM
hi,
pls. have a look at the following sample:
DATA : p TYPE p DECIMALS 3 VALUE '1.5'.
DATA : c(10) TYPE c.
c = FLOOR( p ).
hope this helps
ec
09-22-2008 12:51 PM
Hi,
Please go through the [SAP Help on Conversion Rules for Elementary data types|http://help.sap.com/saphelp_47x200/helpdata/EN/fc/eb3434358411d1829f0000e829fbfe/frameset.htm]
Regards,
Swapna.