<?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: How to change field from string to double? in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/how-to-change-field-from-string-to-double/m-p/269951#M15576</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Well you can't change an already existing field's type but you can specify what data type you want each field to be when you import the Excel sheet into your geodatabase (or .dbf file). Right-click on the field in the field map and go to properties and you can choose the type. ArcGIS will try to convert the values for you if it can but I think maybe in your case you have percentage symbols (%) in there too, which is why it brought them in as strings at first. I think if that's the case and you try to convert to integer or double you'll just get zeros or &amp;lt;null&amp;gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Probably the best thing to do now you've already got the table in ArcGIS is to add a new double field and use the field calculator to strip any non-numerical characters before copying them into the new field. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope that helps&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Aug 2011 11:57:25 GMT</pubDate>
    <dc:creator>DanEvans</dc:creator>
    <dc:date>2011-08-04T11:57:25Z</dc:date>
    <item>
      <title>How to change field from string to double?</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-change-field-from-string-to-double/m-p/269950#M15575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I did a simple percentage calculation in an Excel sheet before adding the data to arc.&amp;nbsp; When I bring the table into arc the two fields with the percentages calculated are identified as string.&amp;nbsp; I need them as double so that I can display symbology through their quantities.&amp;nbsp; I tried to go back into excel and change the format of the columns and this did not work.&amp;nbsp; Please help!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Aug 2011 14:32:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-change-field-from-string-to-double/m-p/269950#M15575</guid>
      <dc:creator>MikeWissner</dc:creator>
      <dc:date>2011-08-03T14:32:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to change field from string to double?</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-change-field-from-string-to-double/m-p/269951#M15576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Well you can't change an already existing field's type but you can specify what data type you want each field to be when you import the Excel sheet into your geodatabase (or .dbf file). Right-click on the field in the field map and go to properties and you can choose the type. ArcGIS will try to convert the values for you if it can but I think maybe in your case you have percentage symbols (%) in there too, which is why it brought them in as strings at first. I think if that's the case and you try to convert to integer or double you'll just get zeros or &amp;lt;null&amp;gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Probably the best thing to do now you've already got the table in ArcGIS is to add a new double field and use the field calculator to strip any non-numerical characters before copying them into the new field. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope that helps&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2011 11:57:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-change-field-from-string-to-double/m-p/269951#M15576</guid>
      <dc:creator>DanEvans</dc:creator>
      <dc:date>2011-08-04T11:57:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to change field from string to double?</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-change-field-from-string-to-double/m-p/269952#M15577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Dan.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, the problem was the presence of non-numerical characters.&amp;nbsp; Once removed, the field type remained double once brought in from excel.&amp;nbsp; Success!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Aug 2011 20:29:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-change-field-from-string-to-double/m-p/269952#M15577</guid>
      <dc:creator>MikeWissner</dc:creator>
      <dc:date>2011-08-07T20:29:35Z</dc:date>
    </item>
  </channel>
</rss>

