<?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: Floating Point Rasters and Grid Values in ArcGIS Spatial Analyst Questions</title>
    <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/floating-point-rasters-and-grid-values/m-p/684610#M10012</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Have a read of the &lt;/SPAN&gt;&lt;A href="http://docs.python.org/tutorial/floatingpoint.html"&gt;floating point tutorial&lt;/A&gt;&lt;SPAN&gt;. It's for python, but don't worry about that, it's one of the best explanations of the floating point representation issue I've come across.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Basically, don't worry about exact values, what you're getting is as close as can be represented with as base 2 (binary) fractions. If you really must have control over this, keep your data as integer (multiply by 10^n where n is the number of decimal places you wish to keep).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Sep 2011 00:38:05 GMT</pubDate>
    <dc:creator>Luke_Pinner</dc:creator>
    <dc:date>2011-09-21T00:38:05Z</dc:date>
    <item>
      <title>Floating Point Rasters and Grid Values</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/floating-point-rasters-and-grid-values/m-p/684609#M10011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a floating point grid/raster and will want to make all values rounded to the nearest tenth.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have converted to integer (added 0.5 for rounding), but the final floating point output grid is not giving me the exact values I want. For e.g. 4676.0000 should become 467.6, but instead I get 467.60006. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also 4674.00000 should become 467.4 but instead I get 467.399994.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help and suggestions?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sam&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2011 20:19:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/floating-point-rasters-and-grid-values/m-p/684609#M10011</guid>
      <dc:creator>SAMUELAMOAKO-ATTA</dc:creator>
      <dc:date>2011-09-14T20:19:20Z</dc:date>
    </item>
    <item>
      <title>Re: Floating Point Rasters and Grid Values</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/floating-point-rasters-and-grid-values/m-p/684610#M10012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Have a read of the &lt;/SPAN&gt;&lt;A href="http://docs.python.org/tutorial/floatingpoint.html"&gt;floating point tutorial&lt;/A&gt;&lt;SPAN&gt;. It's for python, but don't worry about that, it's one of the best explanations of the floating point representation issue I've come across.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Basically, don't worry about exact values, what you're getting is as close as can be represented with as base 2 (binary) fractions. If you really must have control over this, keep your data as integer (multiply by 10^n where n is the number of decimal places you wish to keep).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2011 00:38:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/floating-point-rasters-and-grid-values/m-p/684610#M10012</guid>
      <dc:creator>Luke_Pinner</dc:creator>
      <dc:date>2011-09-21T00:38:05Z</dc:date>
    </item>
    <item>
      <title>Re: Floating Point Rasters and Grid Values</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/floating-point-rasters-and-grid-values/m-p/684611#M10013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'll try that and see. Thanks for the link on floating points.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2011 12:12:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/floating-point-rasters-and-grid-values/m-p/684611#M10013</guid>
      <dc:creator>SAMUELAMOAKO-ATTA</dc:creator>
      <dc:date>2011-09-28T12:12:50Z</dc:date>
    </item>
  </channel>
</rss>

