‎2007 Sep 03 8:59 AM
Hi,
I was facing a problem of a variable.,..
I need to display the minus value and also the decimal values from a variable..In what data type can i declare..
sample prgm if possible plz
‎2007 Sep 03 9:00 AM
data : l_var(10) type c,
l_var2 type p decimals 2.
Use any of the above.
‎2007 Sep 03 9:00 AM
data : l_var(10) type c,
l_var2 type p decimals 2.
Use any of the above.
‎2007 Sep 03 9:06 AM
Hi Mahesh
Sample program for you.
DATA v_data TYPE p DECIMALS 2.
v_data = -5.
WRITE v_data.
Regards
Wiboon
‎2007 Sep 03 9:23 AM
hi
good
there is no specific data type to display the minus value or the decimal value,yes you can declare them as character type and use as per your requirement.
thanks
mrutyun^