09-03-2007 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
09-03-2007 9:00 AM
data : l_var(10) type c,
l_var2 type p decimals 2.
Use any of the above.
09-03-2007 9:00 AM
data : l_var(10) type c,
l_var2 type p decimals 2.
Use any of the above.
09-03-2007 9:06 AM
Hi Mahesh
Sample program for you.
DATA v_data TYPE p DECIMALS 2.
v_data = -5.
WRITE v_data.
Regards
Wiboon
09-03-2007 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^