Returns the next lower integer, as a floating-point value, for each pixel in a raster.
Notes
Input values can be positive or negative.
The output raster is always a floating-point type, regardless of the input value type.
If the input number has any values to the right of the decimal point, the output will be assigned the next lower integer value but will be represented as a floating-point number with no decimal portion. The following are examples:
Input Output 5.3 5.0 4.9 4.0 3.0 3.0 6.5 6.0 -0.2 -1.0 -2.8 -3.0
There is a difference between the Int function and the Round Down function. For example, given the following two values, Int always truncates the number:
- 1.5 becomes 1
- -1.5 becomes -1
- 1.5 becomes 1.0
- -1.5 becomes -2.0.
Another difference is that Round Down outputs floating-point values, while Int only outputs integer values.
If the input is a multiband raster, the output will be a multiband raster. The function will perform the operation on each band in the input.
If the input is a multidimensional raster, all slices from all variables will be processed, and the output will be a multidimensional raster.
Parameters
Parameter name | Description |
---|---|
Raster | The input values to be rounded down. |
Extent Type | Choose which extent should be used in the output raster:
|
Cellsize Type | Choose which cell size to use in the output raster. If all the input cell sizes are the same, all the options will yield the same results.
|