HOW TO
When applying numeric labels to features in ArcGIS Pro, it may be necessary to set the number of decimal places for the labels to be the same as their respective features in the attribute table.
If the expression for a label class is set to use the VBScript, JScript, or Python language, the number of decimal places for those labels will automatically match the number of decimal places in the attribute table. However, if the expression for a label class is set to the Arcade language, the number of decimal places does not automatically match.
This workflow describes how to turn on labels for a feature layer, ensure the labels are using values from a numeric field, and choose the language that a label expression is set to when applying numeric labels in ArcGIS Pro:
to turn on labeling for that feature layer.
.After following the steps above, the number of decimal places for the labels automatically matches the features in the attribute table as long as Arcade is not selected through the Language dropdown. If Arcade is selected through the Language dropdown, the number of decimal places must be set manually to match the number of decimal places in the attribute table through the label expression, as follows:
.
in the Field section. The Label Class - <layer_name> pane opens.
Round($feature.<field_name>,<decimal_places_number>)
to validate the expression.
Article ID: 000035634
Get help from ArcGIS experts
Start chatting now