‎2006 Sep 13 5:41 AM
In my SPM Report I need to out put various group of costs depending on cost elements .
here when im trying to output the Hours for each catagory of labours it is giving
2.04 99.67 hrs
But my client wants 2 100 hrs .
I mean values should be rounded to the nearest number depensding the rounding factor.
Earlist reponce is gr8 to me
‎2006 Sep 13 6:04 AM
Hi,
just declare the variable as <b>type p</b>.
data:a type p value '1.7'.
write:/ a.
‎2006 Sep 13 5:56 AM
hi,
pls chk this.
DATA VAL TYPE I.
VAL = CEIL( '22.71' ).
WRITE VAL.
rgds
anver
‎2006 Sep 13 5:59 AM
Hi,
Declare your variable
DATA: var1 type p decimals 0.
I hope this should solve it.
Regards,
Sandeep
‎2006 Sep 13 6:04 AM
Hi,
just declare the variable as <b>type p</b>.
data:a type p value '1.7'.
write:/ a.