Another way to do this In Map Viewer Classic is to format the field in the Configure Popup dialog. Click on the "Configure Attributes" link, select the field, use the dropdown to set the decimal places to 0,
and unclick the "Use 1000 Separator" checkbox.