as.int function

Coerce raster to integer, float, or double precision