<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Integers Displaying with Decimal Places Bug in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/integers-displaying-with-decimal-places-bug/m-p/1271532#M51071</link>
    <description>&lt;P&gt;I figured out a better work around then creating a bunch of Arcade Expressions to round integers to the nearest integer.&amp;nbsp; Seems like AGOL does honor the significant figures setting, it just won't expose them on integers.&amp;nbsp; I found a double value, cracked open the JSON using AGOL-Assistant to see how it's coded, then used AGOL-Assistant to hard code that key/value pair into the fieldname format part of the map JSON I was trying to fix.&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"fieldName": "XMP_AMT2",&lt;BR /&gt;"format": {&lt;BR /&gt;"digitSeparator": true,&lt;BR /&gt;"places": 0&lt;BR /&gt;}&lt;/P&gt;</description>
    <pubDate>Fri, 24 Mar 2023 20:05:19 GMT</pubDate>
    <dc:creator>PhilipWeeks</dc:creator>
    <dc:date>2023-03-24T20:05:19Z</dc:date>
    <item>
      <title>Integers Displaying with Decimal Places Bug</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/integers-displaying-with-decimal-places-bug/m-p/1271022#M51044</link>
      <description>&lt;P&gt;I have fields which are definitely integers.&amp;nbsp; I have to use WebApp Builder because I need the notification list widget which to my knowledge is not on the product to be ported to Experience Builder, so the map being used is technically the map viewer classic version.&amp;nbsp; When I add these fields to pop-ups in Map Viewer Classic, fields which are definitely integers, they display with 6 decimal places.&amp;nbsp; When I search the method that comes up to fix this is to go into Configure Attributes and change the Format decimal places to 0 decimal places, which AGOL does not provide me the option to do.. &lt;STRONG&gt;because they're integers&lt;/STRONG&gt;!!&lt;/P&gt;&lt;P&gt;They seem to display fine in the new Map Viewer but since the WebApp Builder uses the pop-up configuration from Map Viewer Classic I get these decimals displaying on integers.&amp;nbsp; Not even all integers, just some so I'm hopeful there is some way to fix this, but I haven't found it yet.&amp;nbsp; The only workaround I've come up with is to use arcade to format these fields, these fields which are integers, to round to the nearest integer.&amp;nbsp; Which happens to be the same value they are, since they're integers.&amp;nbsp; This is a parcel data set and there's over 100 fields in the full version.&amp;nbsp; I don't want to write custom arcade expressions to round every integer into an integer when they are already integers.&lt;/P&gt;&lt;P&gt;Anyone have any ideas on where else to investigate why these integers are displaying with 6 decimal places&amp;nbsp; (all zeroes, because they're integers) of accuracy?&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2023 23:10:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/integers-displaying-with-decimal-places-bug/m-p/1271022#M51044</guid>
      <dc:creator>PhilipWeeks</dc:creator>
      <dc:date>2023-03-23T23:10:10Z</dc:date>
    </item>
    <item>
      <title>Re: Integers Displaying with Decimal Places Bug</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/integers-displaying-with-decimal-places-bug/m-p/1271209#M51054</link>
      <description>&lt;P&gt;Agreed, integers shouldn't have that issue.&lt;/P&gt;&lt;P&gt;Did you check the field's formatting in Visualization to see if the significant digits option can be changed?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CareyEdwards_0-1679611005805.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/66168iAD56FDD66B50153B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="CareyEdwards_0-1679611005805.png" alt="CareyEdwards_0-1679611005805.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2023 22:38:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/integers-displaying-with-decimal-places-bug/m-p/1271209#M51054</guid>
      <dc:creator>cedwards8511</dc:creator>
      <dc:date>2023-03-23T22:38:53Z</dc:date>
    </item>
    <item>
      <title>Re: Integers Displaying with Decimal Places Bug</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/integers-displaying-with-decimal-places-bug/m-p/1271219#M51055</link>
      <description>&lt;P&gt;Hadn't checked there but it has the same problem as anywhere else; it doesn't have a significant digits drop down because it's an integer.&amp;nbsp; Thanks though.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PhilipWeeks_0-1679612393095.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/66172i5108E178349A38C8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PhilipWeeks_0-1679612393095.png" alt="PhilipWeeks_0-1679612393095.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PhilipWeeks_2-1679612599528.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/66174i15A2E83E085C296A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PhilipWeeks_2-1679612599528.png" alt="PhilipWeeks_2-1679612599528.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Part of me wonders if there's a way of tricking AGOL into thinking the integers actually are floats or a way of forcing the significant figures drop down to appear on an integer, then I could use it to round those integers to integers.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2023 23:06:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/integers-displaying-with-decimal-places-bug/m-p/1271219#M51055</guid>
      <dc:creator>PhilipWeeks</dc:creator>
      <dc:date>2023-03-23T23:06:05Z</dc:date>
    </item>
    <item>
      <title>Re: Integers Displaying with Decimal Places Bug</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/integers-displaying-with-decimal-places-bug/m-p/1271532#M51071</link>
      <description>&lt;P&gt;I figured out a better work around then creating a bunch of Arcade Expressions to round integers to the nearest integer.&amp;nbsp; Seems like AGOL does honor the significant figures setting, it just won't expose them on integers.&amp;nbsp; I found a double value, cracked open the JSON using AGOL-Assistant to see how it's coded, then used AGOL-Assistant to hard code that key/value pair into the fieldname format part of the map JSON I was trying to fix.&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"fieldName": "XMP_AMT2",&lt;BR /&gt;"format": {&lt;BR /&gt;"digitSeparator": true,&lt;BR /&gt;"places": 0&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2023 20:05:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/integers-displaying-with-decimal-places-bug/m-p/1271532#M51071</guid>
      <dc:creator>PhilipWeeks</dc:creator>
      <dc:date>2023-03-24T20:05:19Z</dc:date>
    </item>
    <item>
      <title>Re: Integers Displaying with Decimal Places Bug</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/integers-displaying-with-decimal-places-bug/m-p/1420667#M59121</link>
      <description>&lt;P&gt;I have the same problem as you and the same result.&amp;nbsp; I have set my field to integer and want to include 2 decimal places but I am not seeing or able to create integers&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2024 19:48:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/integers-displaying-with-decimal-places-bug/m-p/1420667#M59121</guid>
      <dc:creator>JeanetteHarlow1</dc:creator>
      <dc:date>2024-05-08T19:48:01Z</dc:date>
    </item>
    <item>
      <title>Re: Integers Displaying with Decimal Places Bug</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/integers-displaying-with-decimal-places-bug/m-p/1684608#M67881</link>
      <description>&lt;P&gt;Thank you for mentioning this workaround, after enough fiddling, I was able to get it working in field maps. This definitely seems like a bug, since like you said, decimal places shouldn't exist for integer fields. And also, field maps should honor the "never show separator" option selected in the web map (this was being ignored, in my experience).&lt;BR /&gt;&lt;BR /&gt;Do we know if there is a bug number logged for this, and what the status might be?&lt;/P&gt;</description>
      <pubDate>Mon, 16 Feb 2026 21:26:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/integers-displaying-with-decimal-places-bug/m-p/1684608#M67881</guid>
      <dc:creator>Katie_Clark</dc:creator>
      <dc:date>2026-02-16T21:26:05Z</dc:date>
    </item>
    <item>
      <title>Re: Integers Displaying with Decimal Places Bug</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/integers-displaying-with-decimal-places-bug/m-p/1690904#M68199</link>
      <description>&lt;P&gt;I don't have a bug number but I did have a case open with support. I chose not to try their potential solution because it was overly intrusive to a very complex service that is mission critical for staff. However, I did find a solution.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I discovered that adding a single Arcade expression to one of the integer fields in the popup caused &lt;STRONG&gt;all&lt;/STRONG&gt; integer fields in the popup to correctly display with no decimals.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Specifically, using an expression:&lt;/P&gt;&lt;P&gt;Text($feature.FieldName, "#,###") if you want a thousand separator and&amp;nbsp;Text($feature.FieldName, "#") if you don't.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ToddJohnson_0-1773694605100.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/149921iE5828446E38C8EE2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ToddJohnson_0-1773694605100.png" alt="ToddJohnson_0-1773694605100.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ToddJohnson_1-1773694605101.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/149922iA6EF0C61959B0929/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ToddJohnson_1-1773694605101.png" alt="ToddJohnson_1-1773694605101.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This single line of code not only fixed the formatting for that field but also resolved the issue for the other integer fields in the same popup. This behavior was unexpected, but it effectively corrected the decimal‑place problem across the board.&lt;/P&gt;&lt;P&gt;I wanted to share this in case it helps with troubleshooting or documenting the issue for other users.&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Todd&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Mar 2026 20:58:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/integers-displaying-with-decimal-places-bug/m-p/1690904#M68199</guid>
      <dc:creator>ToddJohnson</dc:creator>
      <dc:date>2026-03-16T20:58:50Z</dc:date>
    </item>
    <item>
      <title>Re: Integers Displaying with Decimal Places Bug</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/integers-displaying-with-decimal-places-bug/m-p/1691167#M68212</link>
      <description>&lt;P&gt;Thank you for this! I did find some inconsistent behavior with related tables:&amp;nbsp; it seems to work for either the features&amp;nbsp;&lt;STRONG&gt;or&lt;/STRONG&gt; the related table. If I attempt to to this on both the layer and the table it the decimal places reappear.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Mar 2026 00:48:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/integers-displaying-with-decimal-places-bug/m-p/1691167#M68212</guid>
      <dc:creator>JessicaShue</dc:creator>
      <dc:date>2026-03-18T00:48:25Z</dc:date>
    </item>
  </channel>
</rss>

