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-Nummer BUG-000168555
EingereichtJune 24, 2024
Zuletzt geändertJuly 5, 2024
Gilt fürArcGIS Pro
Gefunden in Version2.9
BetriebssystemWindows OS
Betriebssystemversion10.0 64 Bit
StatusAs Designed

Zusätzliche Informationen

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])

Schritte zur Reproduzierung

Bug-ID: BUG-000168555

Software:

  • ArcGIS Pro

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln