Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

CEIL Function ?

Former Member
0 Likes
636

I m trying to use the ceil function in my program but it gives an error of statement not defined ?

Is this the rt way ?

data : numpage1 type P decimals 2.

numpage2 type i.

numpage1 = total / 8.

numpage2 = ceil(numpage1).

1 REPLY 1
Read only

Former Member
0 Likes
300

Hi,

Give a space after the ( and before ).

numpage2 = <b>ceil( numpage1 )</b>.

Thanks,

Naren