Is This Content Helpful?
We're glad to know this article was helpful.
Floating-point rasters usually have decimal values for each cell. These numbers can be rounded, and the output converted to an integer grid. The output will still be a continuous grid, not a discrete or classified grid. So if the output is converted to features, there will be a large number of features with different whole number values.
In this document G1 is the starting grid of floating-point values and G2 is the output integer grid.
Make sure the directories in the path to the working directory have no spaces or more than eight characters in the name.
G2 = INT(CON([G1] > 0,CON(ABS([G1] - INT([G1])) >= 0.5,CEIL([G1]),FLOOR([G1])),CON(ABS([G1] - INT([G1])) >= 0.5,FLOOR([G1]),CEIL([G1]))))