HOW TO
It is sometimes required to have the field value display trailing zeroes after the decimal point to show consistency in the ArcGIS Online Map Viewer pop-ups. The image below shows the attribute table with two decimal numeric values, but the pop-up does not retain trailing zeroes after the decimal point.
This article provides an example and two workflows to configure the number format for pop-ups to retain trailing zeroes after the decimal point in the pop-up for ArcGIS Online Map Viewer using the Configure fields tool, and Arcade expressions.
Use the Configure fields tool in Map Viewer
In Map Viewer, use the Configure fields tool to configure the number format of the field value in the pop-up. Refer to ArcGIS Online: Configure fields to do so.
Use the custom Arcade expression to configure pop-ups in Map Viewer
Text($feature.<fieldName>, '#,###.00')
The image below shows the newly added Floor Ratio (2 decimal) field in the pop-up using ArcGIS Arcade expression.
Get help from ArcGIS experts
Download the Esri Support App