Skip to Content
0
Former Member
Feb 07, 2006 at 10:55 AM

Round off a decimal number

5627 Views

Dear All,

i need to round off a decimal to nearest integer.

ex:0.4 should be 0,0.5 should be 1.

Can you help me how to handle this

The followig code is giving error.

data: var1 type p decimals 2 vlaue '23.30.

var1 = round(var1) is not working..

Kindly help me how to handle this

Praveen