<?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: Tabel values rounded to step by 0,5 ex. Value 2.6632 to 2.5 and 8,7601 to 9.0 in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/tabel-values-rounded-to-step-by-0-5-ex-value-2/m-p/41034#M1493</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you can get to it through the field calculator, Python parser, using an expression like:&lt;/P&gt;&lt;PRE class="language-python line-numbers"&gt;&lt;CODE&gt;round&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;!your_field_name!&lt;SPAN class="operator token"&gt;*&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;2&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;/&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;2.0&lt;/SPAN&gt;‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, your examples:&lt;/P&gt;&lt;P&gt;2.66 * 2 = 5.32&lt;/P&gt;&lt;P&gt;round(5.32,0) = 5&lt;/P&gt;&lt;P&gt;5 / 2.0 = 2.5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;8.76 * 2 = 17.52&lt;/P&gt;&lt;P&gt;round(17.52,0) = 18&lt;/P&gt;&lt;P&gt;18 / 2.0 = 9.0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Feb 2017 21:45:58 GMT</pubDate>
    <dc:creator>DarrenWiens2</dc:creator>
    <dc:date>2017-02-02T21:45:58Z</dc:date>
    <item>
      <title>Tabel values rounded to step by 0,5 ex. Value 2.6632 to 2.5 and 8,7601 to 9.0</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/tabel-values-rounded-to-step-by-0-5-ex-value-2/m-p/41033#M1492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do i tranform tabel values&amp;nbsp;&amp;nbsp;values rounded to steps of 0,5? ex. Value 2.66 to 2.5 and 8,76 to 9.0 in arcgis 10?&lt;/P&gt;&lt;P&gt;I need them to be rounded in step by 0,5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thers probably some easy solution, the only thing i found is round to nth. But not quite what I'm locking for..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Always greatfull for all the help we get here!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/J&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Feb 2017 21:36:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/tabel-values-rounded-to-step-by-0-5-ex-value-2/m-p/41033#M1492</guid>
      <dc:creator>JohnnyJohansson</dc:creator>
      <dc:date>2017-02-02T21:36:13Z</dc:date>
    </item>
    <item>
      <title>Re: Tabel values rounded to step by 0,5 ex. Value 2.6632 to 2.5 and 8,7601 to 9.0</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/tabel-values-rounded-to-step-by-0-5-ex-value-2/m-p/41034#M1493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you can get to it through the field calculator, Python parser, using an expression like:&lt;/P&gt;&lt;PRE class="language-python line-numbers"&gt;&lt;CODE&gt;round&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;!your_field_name!&lt;SPAN class="operator token"&gt;*&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;2&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;/&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;2.0&lt;/SPAN&gt;‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, your examples:&lt;/P&gt;&lt;P&gt;2.66 * 2 = 5.32&lt;/P&gt;&lt;P&gt;round(5.32,0) = 5&lt;/P&gt;&lt;P&gt;5 / 2.0 = 2.5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;8.76 * 2 = 17.52&lt;/P&gt;&lt;P&gt;round(17.52,0) = 18&lt;/P&gt;&lt;P&gt;18 / 2.0 = 9.0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Feb 2017 21:45:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/tabel-values-rounded-to-step-by-0-5-ex-value-2/m-p/41034#M1493</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2017-02-02T21:45:58Z</dc:date>
    </item>
  </channel>
</rss>

