Ok,
I have a field which I need to divide by 2, and the round up if the resultant figure is not a whole number.
I can achieve this as follows..
I was wondering if there is a BIF or another simpler way of doing the same calculation?
Thanks in advance
I have a field which I need to divide by 2, and the round up if the resultant figure is not a whole number.
I can achieve this as follows..
Code:
c length div 2 result c mvr remain c if remain > 0 c add 1 result c endif
Thanks in advance
Comment