<?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 Query Task Adding extra decimal places in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/query-task-adding-extra-decimal-places/m-p/446366#M41218</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: ggunther&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a simply query task which is returning more decimal places with an extra bit of data that what exists in the field itself.&amp;nbsp; See the attached screen captures.&amp;nbsp; The first is the data table in ArcMap illustrating a value of 424.28 and the second is the json response from the query task showing the value as 424.280000000003.&amp;nbsp; Any thoughts?&amp;nbsp; I dont want to round because there are significant figures that I need to honor.&lt;/SPAN&gt;&lt;BR /&gt;&lt;IMG src="http://forums.arcgis.com/attachment.php?attachmentid=5050&amp;amp;stc=1&amp;amp;d=1298667340" /&gt;&lt;BR /&gt;&lt;IMG src="http://forums.arcgis.com/attachment.php?attachmentid=5049&amp;amp;stc=1&amp;amp;d=1298667328" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Feb 2011 18:56:54 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2011-02-25T18:56:54Z</dc:date>
    <item>
      <title>Query Task Adding extra decimal places</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/query-task-adding-extra-decimal-places/m-p/446366#M41218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: ggunther&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a simply query task which is returning more decimal places with an extra bit of data that what exists in the field itself.&amp;nbsp; See the attached screen captures.&amp;nbsp; The first is the data table in ArcMap illustrating a value of 424.28 and the second is the json response from the query task showing the value as 424.280000000003.&amp;nbsp; Any thoughts?&amp;nbsp; I dont want to round because there are significant figures that I need to honor.&lt;/SPAN&gt;&lt;BR /&gt;&lt;IMG src="http://forums.arcgis.com/attachment.php?attachmentid=5050&amp;amp;stc=1&amp;amp;d=1298667340" /&gt;&lt;BR /&gt;&lt;IMG src="http://forums.arcgis.com/attachment.php?attachmentid=5049&amp;amp;stc=1&amp;amp;d=1298667328" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Feb 2011 18:56:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/query-task-adding-extra-decimal-places/m-p/446366#M41218</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2011-02-25T18:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: Query Task Adding extra decimal places</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/query-task-adding-extra-decimal-places/m-p/446367#M41219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please share the solution, if you got any?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Apr 2016 14:13:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/query-task-adding-extra-decimal-places/m-p/446367#M41219</guid>
      <dc:creator>Ranga_Tolapi</dc:creator>
      <dc:date>2016-04-25T14:13:28Z</dc:date>
    </item>
    <item>
      <title>Re: Query Task Adding extra decimal places</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/query-task-adding-extra-decimal-places/m-p/446368#M41220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It depends on what you are trying to achieve. For e.g. If you want to round them in InfoWindow. The popup template has options which you can set to show only that number of places.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Apr 2016 15:13:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/query-task-adding-extra-decimal-places/m-p/446368#M41220</guid>
      <dc:creator>thejuskambi</dc:creator>
      <dc:date>2016-04-25T15:13:33Z</dc:date>
    </item>
    <item>
      <title>Re: Query Task Adding extra decimal places</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/query-task-adding-extra-decimal-places/m-p/446369#M41221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem is associated with how the ArcGIS server (python) handles floating point numbers: &lt;A href="https://docs.python.org/2/tutorial/floatingpoint.html" title="https://docs.python.org/2/tutorial/floatingpoint.html"&gt;14. Floating Point Arithmetic: Issues and Limitations — Python 2.7.11 documentation&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as I know, the only recourse is to round the result.&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Apr 2016 15:31:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/query-task-adding-extra-decimal-places/m-p/446369#M41221</guid>
      <dc:creator>BillDaigle</dc:creator>
      <dc:date>2016-04-25T15:31:09Z</dc:date>
    </item>
  </channel>
</rss>

