Problem: Performing the Calculate Geometry function on a numerical field does not store decimal values
Upon running the Calculate Geometry function on a numerical field in an attribute table in ArcMap, the returned results only store whole numbers and not decimal values.
This issue occurs when running the Calculate Geometry function on a long or short integer type attribute field. Long and short integers do not store decimal values.
Solution or Workaround
Create a new float or double type field either directly within the attribute table or using the Add Field geoprocessing tool located in ArcToolbox > Data Management Tools > Fields. For more information, refer to the following documentation, ArcGIS Help: Adding fields.
Once the new field is created, run the Calculate Geometry function to display the decimal values.
- ArcGIS Help: ArcGIS field data types
- ArcGIS Help: Add Field (Data Management)
- ArcGIS Help: Calculating area, length, and other geometric properties
- Problem: The Calculate Geometry tool produces incorrect results for basemaps
- FAQ: Should I be concerned about precision and scale settings when creating a new field in my attribute table?