<?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: Formatting a numeric field- round to 10s or 100s in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/formatting-a-numeric-field-round-to-10s-or-100s/m-p/188992#M8376</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Right, but I'm not trying to calculate a new or existing field, rather just formatting an existing field using the numeric formatting dialog.&amp;nbsp;In a python expression, you use a negative number to round left of the decimal, but the numeric field formatting dialog won't accept negative numbers in the rounding&amp;gt;decimal places entry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm hoping to format an auto-calculated geodatabase area field for use in a layout table frame. I don't want to have to recalculate the field (and rebuild the table frame) every time the underlying geometry changes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Aug 2019 02:29:59 GMT</pubDate>
    <dc:creator>AaronWorthley1</dc:creator>
    <dc:date>2019-08-14T02:29:59Z</dc:date>
    <item>
      <title>Formatting a numeric field- round to 10s or 100s</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/formatting-a-numeric-field-round-to-10s-or-100s/m-p/188990#M8374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When formatting a numeric field in a table, rounding to decimal places or significant numbers is straightforward- but how do I round to the nearest 10 or 100 (ie to the left of the decimal)? My numbers range from 41 the&amp;nbsp;over 1,000,000 and I'd like them all to display as x,xxx,xx0. I've played around with all the numeric options and custom formatting, but can't find a way- is it possible?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Aug 2019 22:30:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/formatting-a-numeric-field-round-to-10s-or-100s/m-p/188990#M8374</guid>
      <dc:creator>AaronWorthley1</dc:creator>
      <dc:date>2019-08-13T22:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting a numeric field- round to 10s or 100s</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/formatting-a-numeric-field-round-to-10s-or-100s/m-p/188991#M8375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The round() function in python can do it for you:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;numList &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;41&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;63&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;47&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;116&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;1000055&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;for&lt;/SPAN&gt; n &lt;SPAN class="keyword token"&gt;in&lt;/SPAN&gt; numList&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
    &lt;SPAN class="keyword token"&gt;print&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;round&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;n&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;

&lt;SPAN class="comment token"&gt;#returns:&lt;/SPAN&gt;

&lt;SPAN class="number token"&gt;40&lt;/SPAN&gt;
&lt;SPAN class="number token"&gt;60&lt;/SPAN&gt;
&lt;SPAN class="number token"&gt;50&lt;/SPAN&gt;
&lt;SPAN class="number token"&gt;120&lt;/SPAN&gt;
&lt;SPAN class="number token"&gt;1000060&lt;/SPAN&gt;‍‍‍‍‍‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;In a field calculator it looks like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/456967_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 09:31:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/formatting-a-numeric-field-round-to-10s-or-100s/m-p/188991#M8375</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2021-12-11T09:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting a numeric field- round to 10s or 100s</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/formatting-a-numeric-field-round-to-10s-or-100s/m-p/188992#M8376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Right, but I'm not trying to calculate a new or existing field, rather just formatting an existing field using the numeric formatting dialog.&amp;nbsp;In a python expression, you use a negative number to round left of the decimal, but the numeric field formatting dialog won't accept negative numbers in the rounding&amp;gt;decimal places entry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm hoping to format an auto-calculated geodatabase area field for use in a layout table frame. I don't want to have to recalculate the field (and rebuild the table frame) every time the underlying geometry changes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Aug 2019 02:29:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/formatting-a-numeric-field-round-to-10s-or-100s/m-p/188992#M8376</guid>
      <dc:creator>AaronWorthley1</dc:creator>
      <dc:date>2019-08-14T02:29:59Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting a numeric field- round to 10s or 100s</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/formatting-a-numeric-field-round-to-10s-or-100s/m-p/188993#M8377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It requires a new field, there is no way to display rounding in the table beyond rounding to 0 decimal places.&lt;/P&gt;&lt;P&gt;Scientific notation won't help much, it would look just as ugly in the report table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Aug 2019 02:49:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/formatting-a-numeric-field-round-to-10s-or-100s/m-p/188993#M8377</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2019-08-14T02:49:51Z</dc:date>
    </item>
  </channel>
</rss>

