Newer Version Available

This content describes an older version of this product. View Latest

ceil(n)

Returns the nearest integer of equal or greater value to n. n can be any real numeric value in the range of -1e308 <= n <= 1e308.
This example is valid:
1q = foreach q generate ceil(miles) as distance;
These examples are invalid:
1q = group q by ceil(miles);
2q = order q by ceil(miles);