Available with Spatial Analyst license.
Converts each pixel value of a raster to an integer by truncation.
The input values can be positive or negative.
If rounding is preferred to truncating, add a 0.5 input raster prior to performing the operation.
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.
Storing categorical (discrete) data as an integer raster will use significantly less disk space than the same information stored as a floating-point raster. Whenever possible, it is recommended to convert floating-point rasters to integer with this function.
The input raster to be converted to integer.
Choose which extent should be used in the output raster:
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.