<?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: Arcade function &amp;quot;distance&amp;quot; gives values below zeros in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/arcade-function-quot-distance-quot-gives-values/m-p/1274692#M67513</link>
    <description>&lt;P&gt;Numbers like &lt;EM&gt;3.06370662743992E-03&lt;/EM&gt; are not below zero. They are in &lt;A href="https://www.mathsisfun.com/numbers/scientific-notation.html" target="_self"&gt;scientific notation&lt;/A&gt;, which is equivalent to 0.00306370662743992.&lt;/P&gt;&lt;P&gt;If you'd like to make sure you don't get numbers like that, you can use the &lt;A href="https://developers.arcgis.com/arcade/function-reference/text_functions/#text" target="_self"&gt;Text&lt;/A&gt; function to return numbers at a set number of decimal places.&lt;/P&gt;</description>
    <pubDate>Mon, 03 Apr 2023 14:28:55 GMT</pubDate>
    <dc:creator>KenBuja</dc:creator>
    <dc:date>2023-04-03T14:28:55Z</dc:date>
    <item>
      <title>Arcade function "distance" gives values below zeros</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcade-function-quot-distance-quot-gives-values/m-p/1274604#M67509</link>
      <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I face an issue with Arcade in "Calculate Field"&lt;/P&gt;&lt;P&gt;I was trying to calculate the distance between two features, but it gives me numbers like:&amp;nbsp;&lt;EM&gt;3.06370662743992E-03,&amp;nbsp;2.1836948170503E-04, ....&lt;/EM&gt;&amp;nbsp;as in image(1)&amp;nbsp;&lt;/P&gt;&lt;P&gt;after applying&lt;EM&gt;&amp;nbsp;Floor (value, 4)&lt;/EM&gt; it gives numbers like:&lt;EM&gt;0.0228,&amp;nbsp;0.003, ....&lt;/EM&gt; as in image(2)&lt;/P&gt;&lt;P&gt;I want to have the distances in meters, and I am sure that all the distances are more than zero.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/67049i1DC4A441D3565C03/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.png" alt="1.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="2.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/67050i9D958809BAD3E5E4/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.png" alt="2.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Apr 2023 12:16:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcade-function-quot-distance-quot-gives-values/m-p/1274604#M67509</guid>
      <dc:creator>Hala_Ghareeb</dc:creator>
      <dc:date>2023-04-03T12:16:28Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade function "distance" gives values below zeros</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcade-function-quot-distance-quot-gives-values/m-p/1274614#M67510</link>
      <description>&lt;P&gt;Are you using a projected coordinate system?&lt;/P&gt;</description>
      <pubDate>Mon, 03 Apr 2023 12:24:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcade-function-quot-distance-quot-gives-values/m-p/1274614#M67510</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2023-04-03T12:24:25Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade function "distance" gives values below zeros</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcade-function-quot-distance-quot-gives-values/m-p/1274692#M67513</link>
      <description>&lt;P&gt;Numbers like &lt;EM&gt;3.06370662743992E-03&lt;/EM&gt; are not below zero. They are in &lt;A href="https://www.mathsisfun.com/numbers/scientific-notation.html" target="_self"&gt;scientific notation&lt;/A&gt;, which is equivalent to 0.00306370662743992.&lt;/P&gt;&lt;P&gt;If you'd like to make sure you don't get numbers like that, you can use the &lt;A href="https://developers.arcgis.com/arcade/function-reference/text_functions/#text" target="_self"&gt;Text&lt;/A&gt; function to return numbers at a set number of decimal places.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Apr 2023 14:28:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcade-function-quot-distance-quot-gives-values/m-p/1274692#M67513</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2023-04-03T14:28:55Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade function "distance" gives values below zeros</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcade-function-quot-distance-quot-gives-values/m-p/1274814#M67542</link>
      <description>&lt;LI-CODE lang="javascript"&gt;var dist = DistanceGeodetic($feature, w_point, 'meters')&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 03 Apr 2023 17:33:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcade-function-quot-distance-quot-gives-values/m-p/1274814#M67542</guid>
      <dc:creator>DavidPike</dc:creator>
      <dc:date>2023-04-03T17:33:02Z</dc:date>
    </item>
  </channel>
</rss>

