<?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: Decimal places problem in Label Display in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/decimal-places-problem-in-label-display/m-p/715619#M31519</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Greg - on the Symbology pane you're setting the labels for the layer in the Contents pane.&amp;nbsp; To set labels on the features in the map you need to use the Label Class pane and set a label expression as you've done below with python.&lt;/P&gt;&lt;P&gt;Wendy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Jun 2016 18:20:04 GMT</pubDate>
    <dc:creator>WendyHarrison</dc:creator>
    <dc:date>2016-06-06T18:20:04Z</dc:date>
    <item>
      <title>Decimal places problem in Label Display</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/decimal-places-problem-in-label-display/m-p/715614#M31514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For some reason one of my label expressions [year] is showing 6 decimal places when there should be none.&amp;nbsp; A similar label [Age] shows properly without any decimal places.&amp;nbsp; Both field are defined the same as numeric.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Year]&amp;amp;" "&amp;amp; [Project] &amp;amp;" "&amp;amp; [Age]&amp;amp;" yrs old"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="decimal.JPG" class="jive-image image-1" src="https://community.esri.com/legacyfs/online/19918_decimal.JPG" style="width: 620px; height: 438px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2014 17:22:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/decimal-places-problem-in-label-display/m-p/715614#M31514</guid>
      <dc:creator>RobertThomson</dc:creator>
      <dc:date>2014-10-10T17:22:26Z</dc:date>
    </item>
    <item>
      <title>Re: Decimal places problem in Label Display</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/decimal-places-problem-in-label-display/m-p/715615#M31515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could you send more information about the fields you're using to label?&amp;nbsp; data type? length? were they preexisting fields from 10x? or were they newly added in pro?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Wendy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2014 20:16:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/decimal-places-problem-in-label-display/m-p/715615#M31515</guid>
      <dc:creator>WendyHarrison</dc:creator>
      <dc:date>2014-10-10T20:16:45Z</dc:date>
    </item>
    <item>
      <title>Re: Decimal places problem in Label Display</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/decimal-places-problem-in-label-display/m-p/715616#M31516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just ran into the same problem in ArcGIS Pro 1.2. I imported a layer from an ArcMap mxd and enabled labeling (basic label engine) to show a Double field from a feature class in a file geodatabase, which was created in Desktop 10.3.1. When I go to Symbology--&amp;gt;Advanced--&amp;gt;Format Labels and change the number of decimals to be shown to 2 the labels do not change. Screen shot below. &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/206542_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jun 2016 18:14:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/decimal-places-problem-in-label-display/m-p/715616#M31516</guid>
      <dc:creator>Greg_Yetman</dc:creator>
      <dc:date>2016-06-01T18:14:59Z</dc:date>
    </item>
    <item>
      <title>Re: Decimal places problem in Label Display</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/decimal-places-problem-in-label-display/m-p/715617#M31517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As a temporary workaround this should work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;left( &lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;[Year]&lt;/SPAN&gt; ,4) &amp;amp;" "&amp;amp; [Project] &amp;amp;" "&amp;amp; [Age]&amp;amp;" yrs old"&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jun 2016 18:29:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/decimal-places-problem-in-label-display/m-p/715617#M31517</guid>
      <dc:creator>BenjaminMittler</dc:creator>
      <dc:date>2016-06-01T18:29:36Z</dc:date>
    </item>
    <item>
      <title>Re: Decimal places problem in Label Display</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/decimal-places-problem-in-label-display/m-p/715618#M31518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, useful workaround. Using python worked for me:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;round(float([Percent_diff]),2)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jun 2016 19:04:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/decimal-places-problem-in-label-display/m-p/715618#M31518</guid>
      <dc:creator>Greg_Yetman</dc:creator>
      <dc:date>2016-06-01T19:04:54Z</dc:date>
    </item>
    <item>
      <title>Re: Decimal places problem in Label Display</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/decimal-places-problem-in-label-display/m-p/715619#M31519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Greg - on the Symbology pane you're setting the labels for the layer in the Contents pane.&amp;nbsp; To set labels on the features in the map you need to use the Label Class pane and set a label expression as you've done below with python.&lt;/P&gt;&lt;P&gt;Wendy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jun 2016 18:20:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/decimal-places-problem-in-label-display/m-p/715619#M31519</guid>
      <dc:creator>WendyHarrison</dc:creator>
      <dc:date>2016-06-06T18:20:04Z</dc:date>
    </item>
    <item>
      <title>Re: Decimal places problem in Label Display</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/decimal-places-problem-in-label-display/m-p/715620#M31520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As a demo&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;gt; Year = 2016&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;gt; Project = 'Some'&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;gt; Age = 3&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;gt; "{} {} {} yrs old".format(Year,Project,Age)&lt;/P&gt;&lt;P&gt;'2016 Some 3 yrs old'&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The python mini-formatting language handles conversions and you can specify formats.&amp;nbsp; In the examples above, you can even use field names by enclosing them with exclamation marks should you ever need to pull stuff from a field (ie !Year! etc)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jun 2016 20:35:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/decimal-places-problem-in-label-display/m-p/715620#M31520</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-06-06T20:35:26Z</dc:date>
    </item>
    <item>
      <title>Re: Decimal places problem in Label Display</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/decimal-places-problem-in-label-display/m-p/715621#M31521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could also try setting the number of decimal places to 0 in the field properties.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jun 2016 05:57:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/decimal-places-problem-in-label-display/m-p/715621#M31521</guid>
      <dc:creator>FC_Basson</dc:creator>
      <dc:date>2016-06-07T05:57:14Z</dc:date>
    </item>
  </channel>
</rss>

