ee.Array.ceil

On an element-wise basis, computes the smallest integer greater than or equal to the input.

UsageReturns
Array.ceil()Array
ArgumentTypeDetails
this: inputArray

The input array.

Examples

JavaScript

// Requires an explicit PixelType if no data.
print(ee.Array([], ee.PixelType.int8()).ceil());  // []

print(ee.Array([-1.1]).ceil());  // [-1]
print(ee.Array([-0.1]).ceil());  // [0]
print(ee.Array([0]).ceil());  // [0]
print(ee.Array([0.1]).ceil());  // [1]
print(ee.Array([1.1]).ceil());  // [2]

Python

# Your example goes here!