<?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: Select Specific Numbers in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/select-specific-numbers/m-p/1142423#M51210</link>
    <description>&lt;P&gt;If you want to select all records in a layer that are a multiple of a certain number, say 5, then you can use Select Layer By Attribute/Location and the SQL modulo operator:&lt;/P&gt;&lt;LI-CODE lang="sql"&gt;MOD(Field, 5) = 0&lt;/LI-CODE&gt;&lt;P&gt;Note, the implementation of the modulo operator does vary between DBMS, so if MOD doesn't work you can search the internet for the specific modulo syntax for the backend data store you are using.&lt;/P&gt;</description>
    <pubDate>Wed, 09 Feb 2022 22:40:31 GMT</pubDate>
    <dc:creator>JoshuaBixby</dc:creator>
    <dc:date>2022-02-09T22:40:31Z</dc:date>
    <item>
      <title>Select Specific Numbers</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/select-specific-numbers/m-p/1142404#M51204</link>
      <description>&lt;P&gt;Is there a way to select numbers by a specific number or a script for it? For example, I want to select all numbers that are multiples of 5. How could i do it?&lt;/P&gt;</description>
      <pubDate>Wed, 09 Feb 2022 22:09:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/select-specific-numbers/m-p/1142404#M51204</guid>
      <dc:creator>IsaacAcosta</dc:creator>
      <dc:date>2022-02-09T22:09:49Z</dc:date>
    </item>
    <item>
      <title>Re: Select Specific Numbers</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/select-specific-numbers/m-p/1142414#M51207</link>
      <description>&lt;P&gt;You can just use list comprehension:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;multiples = [n for n in range(100) if n % 5 == 0]&lt;/LI-CODE&gt;&lt;P&gt;That gives you all the multiples of 5 between 0 and 99. You can substitute range(100) with any iterable that contains numbers and 5 with any number you choose.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Feb 2022 22:32:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/select-specific-numbers/m-p/1142414#M51207</guid>
      <dc:creator>HannesZiegler</dc:creator>
      <dc:date>2022-02-09T22:32:15Z</dc:date>
    </item>
    <item>
      <title>Re: Select Specific Numbers</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/select-specific-numbers/m-p/1142423#M51210</link>
      <description>&lt;P&gt;If you want to select all records in a layer that are a multiple of a certain number, say 5, then you can use Select Layer By Attribute/Location and the SQL modulo operator:&lt;/P&gt;&lt;LI-CODE lang="sql"&gt;MOD(Field, 5) = 0&lt;/LI-CODE&gt;&lt;P&gt;Note, the implementation of the modulo operator does vary between DBMS, so if MOD doesn't work you can search the internet for the specific modulo syntax for the backend data store you are using.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Feb 2022 22:40:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/select-specific-numbers/m-p/1142423#M51210</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2022-02-09T22:40:31Z</dc:date>
    </item>
  </channel>
</rss>

