<?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: Label, rounding decimals, with text in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/label-rounding-decimals-with-text/m-p/1183441#M22278</link>
    <description>&lt;P&gt;You will have to create an Arcade expression for that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Before:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JohannesLindner_0-1655360904616.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/43600i59060AA751D65832/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JohannesLindner_0-1655360904616.png" alt="JohannesLindner_0-1655360904616.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Create a label expression:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JohannesLindner_1-1655360976410.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/43601iA4DD903049AF574F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JohannesLindner_1-1655360976410.png" alt="JohannesLindner_1-1655360976410.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;"Einleitung " + $feature.OBJECTID + ": " + Round($feature.QErlaubt, 2) + " m³/s"

// or, with newer syntax:
`Einleitung ${$feature.ObjectID}: ${Round($feature.QErlaubt, 2)} m³/s`&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JohannesLindner_2-1655361120916.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/43602iD175529F39E9D728/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JohannesLindner_2-1655361120916.png" alt="JohannesLindner_2-1655361120916.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;In Pro, it's the same.&lt;/P&gt;&lt;P&gt;Before:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JohannesLindner_3-1655361475583.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/43603i665AC775F14C0173/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JohannesLindner_3-1655361475583.png" alt="JohannesLindner_3-1655361475583.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JohannesLindner_4-1655361540277.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/43604i47396FB004D1C190/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JohannesLindner_4-1655361540277.png" alt="JohannesLindner_4-1655361540277.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 16 Jun 2022 06:39:36 GMT</pubDate>
    <dc:creator>JohannesLindner</dc:creator>
    <dc:date>2022-06-16T06:39:36Z</dc:date>
    <item>
      <title>Label, rounding decimals, with text</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/label-rounding-decimals-with-text/m-p/1183128#M22276</link>
      <description>&lt;P&gt;I am trying to build a WEBAPP with various mountain bike trails. I have created some circuits so the team coach can determine which groups should ride which circuits. The pop ups have reduced the distance decimals to 1, but the Labels do not? I tried to use the round(feature, number) but got a NaN?&lt;/P&gt;&lt;P&gt;Is there a way to do this? the same thing happened in ArcPro when I added distance to symbology..&amp;nbsp;&lt;/P&gt;&lt;P&gt;The field is calculated from mileage. If it were a one time deal I would just create a text field, but I imagine building more trails and ..... if I had to do that each time it would be a pain.&lt;/P&gt;&lt;P&gt;I would also like to add text? so instead of 'Circuit 1&amp;nbsp; 7.87387483647364' I could display Circuit 1; 7.8 mi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2022 13:45:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/label-rounding-decimals-with-text/m-p/1183128#M22276</guid>
      <dc:creator>ScottJones1</dc:creator>
      <dc:date>2022-06-15T13:45:38Z</dc:date>
    </item>
    <item>
      <title>Re: Label, rounding decimals, with text</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/label-rounding-decimals-with-text/m-p/1183441#M22278</link>
      <description>&lt;P&gt;You will have to create an Arcade expression for that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Before:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JohannesLindner_0-1655360904616.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/43600i59060AA751D65832/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JohannesLindner_0-1655360904616.png" alt="JohannesLindner_0-1655360904616.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Create a label expression:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JohannesLindner_1-1655360976410.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/43601iA4DD903049AF574F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JohannesLindner_1-1655360976410.png" alt="JohannesLindner_1-1655360976410.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;"Einleitung " + $feature.OBJECTID + ": " + Round($feature.QErlaubt, 2) + " m³/s"

// or, with newer syntax:
`Einleitung ${$feature.ObjectID}: ${Round($feature.QErlaubt, 2)} m³/s`&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JohannesLindner_2-1655361120916.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/43602iD175529F39E9D728/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JohannesLindner_2-1655361120916.png" alt="JohannesLindner_2-1655361120916.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;In Pro, it's the same.&lt;/P&gt;&lt;P&gt;Before:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JohannesLindner_3-1655361475583.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/43603i665AC775F14C0173/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JohannesLindner_3-1655361475583.png" alt="JohannesLindner_3-1655361475583.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JohannesLindner_4-1655361540277.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/43604i47396FB004D1C190/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JohannesLindner_4-1655361540277.png" alt="JohannesLindner_4-1655361540277.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jun 2022 06:39:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/label-rounding-decimals-with-text/m-p/1183441#M22278</guid>
      <dc:creator>JohannesLindner</dc:creator>
      <dc:date>2022-06-16T06:39:36Z</dc:date>
    </item>
  </channel>
</rss>

