Label expressions using the Arcade language in ArcGIS Online do not honor the number of decimal places configured in the attribute table.
Last Published: September 25, 2018ArcGIS Online
Bug ID Number
BUG-000112669
Submitted
March 23, 2018
Last Modified
June 5, 2024
Applies to
ArcGIS Online
Version found
5.4
Status
Will Not Be Addressed
The development team has considered the issue or request and concluded it will not be addressed. The issue's Additional Information section may contain further explanation.
Additional Information
Number formatting in ArcGIS Pro is not preserved on publishing, it is simply a display option in ArcGIS Pro. If users want to limit the number of decimal places used using Arcade, use the Round function to control decimal places (e.g. Round($feature.fieldname,2)).
Workaround
Publish the annotation layer or the web layer as a tile layer in order to bring in correct labels to ArcGIS Online.