Custom decimals in labels

1173
2
Jump to solution
03-19-2023 02:36 AM
Labels (1)
teakplantation
New Contributor III

In ArcGIS Pro 3.1 in the attribute table of my points feature class I have limited the decimals of a numeric field to 2 decimal places using the rounding option: 

rounding in labels.png

After applying the changes, the numbers display correctly in the attribute table. However, the labels on the map still show the full extent of decimals (see upper right of the image) without the rounding applied.

How I can achieve the same 2 digit display in the labels as in the attribute table?

Kind regards

0 Kudos
1 Solution

Accepted Solutions
DanPatterson
MVP Esteemed Contributor

Specify text for labels—ArcGIS Pro | Documentation

label.png

very inconvenient since label expressions don't use the same field delimiters as regular python

 


... sort of retired...

View solution in original post

2 Replies
DanPatterson
MVP Esteemed Contributor

Specify text for labels—ArcGIS Pro | Documentation

label.png

very inconvenient since label expressions don't use the same field delimiters as regular python

 


... sort of retired...
teakplantation
New Contributor III

Thanks Dan!

In my  case round(number($feature.RASTERVALU), 2) using Arcade 🙂