laptop and a wrench

Bug

The label expressions with a numeric field in Python work as a string field in ArcGIS Pro.

ArcGIS Pro
Bug ID Number BUG-000168555
SubmittedJune 24, 2024
Last ModifiedJuly 5, 2024
Applies toArcGIS Pro
Version found2.9
Operating SystemWindows OS
Operating System Version10.0 64 Bit
StatusAs Designed

Additional Information

See the documentation: https://pro.arcgis.com/en/pro-app/latest/help/mapping/text/specify-text-for-labels.htm Field values are automatically converted to text strings. Therefore, to use a numeric value in an arithmetic operation or when making a comparison, cast it back to a numeric data type. When using Arcade, the field values maintain their data types. Python example: int([FIELD1]) + int([FIELD2])

Steps to Reproduce

Bug ID: BUG-000168555

Software:

  • ArcGIS Pro

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options