10-30-2007 4:51 PM
Hi All,
I've two fields (type P) with values 3000.00 & 2999.97
While comparing these two fields I want to round the second field..... any ideas please.....
10-30-2007 4:56 PM
Do this...
data: test type p.
test = '2999.97'.
test = ceil( test ).
write test.
Greetings,
Blag.
10-30-2007 4:53 PM
10-30-2007 4:55 PM
Hi,
do like this
data: v1(10) type p decimals 2 value '101.59',
v2 type i.
v2 = v1.
write v2.
<b>Reward points for helpful answers</b>
Satish
10-30-2007 4:56 PM
Do this...
data: test type p.
test = '2999.97'.
test = ceil( test ).
write test.
Greetings,
Blag.
10-30-2007 4:56 PM
http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9e3d35c111d1829f0000e829fbfe/content.htm
Go thru this link...
hope this will help you