<?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: converting character value to numeric in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/converting-character-value-to-numeric/m-p/521268#M141407</link>
    <description>&lt;P&gt;Could you please check if there is any missing character data. Because the missing character data when converted to numeric take dot value. it is representation of missing numeric data in SAS.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 13 Dec 2018 19:39:58 GMT</pubDate>
    <dc:creator>Jagadishkatam</dc:creator>
    <dc:date>2018-12-13T19:39:58Z</dc:date>
    <item>
      <title>converting character value to numeric</title>
      <link>https://communities.sas.com/t5/SAS-Programming/converting-character-value-to-numeric/m-p/521262#M141406</link>
      <description>&lt;P&gt;Hi I am trying to convert character value to numeric used. this codes&lt;/P&gt;&lt;P&gt;data datachek.mil_lab_2017_A;&lt;BR /&gt;set datachek.MIL_LAB_2017;&lt;BR /&gt;AZIMICDD = INPUT(AZI_MIC_DD, BEST8.);&lt;BR /&gt;DROP AZI_MIC_DD;&lt;BR /&gt;RENAME AZIMICDD=AZI_MIC_DD;&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;log did not show any error&lt;/P&gt;&lt;P&gt;51 data datachek.mil_lab_2017_A;&lt;BR /&gt;52 set datachek.MIL_LAB_2017;&lt;BR /&gt;56 AZIMICDD = INPUT(AZI_MIC_DD, BEST8.);&lt;BR /&gt;57 DROP AZI_MIC_DD;&lt;BR /&gt;58 RENAME AZIMICDD=AZI_MIC_DD;&lt;BR /&gt;59 RUN;&lt;/P&gt;&lt;P&gt;NOTE: There were 2406 observations read from the data set DATACHEK.MIL_LAB_2017.&lt;BR /&gt;NOTE: The data set DATACHEK.MIL_LAB_2017_A has 2406 observations and 30 variables.&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt;real time 0.12 seconds&lt;BR /&gt;cpu time 0.03 seconds&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but the converted data has . value no numbers.&amp;nbsp; Can some tell me why and how can i fix this. Also can I convert from character to numeric and change the length of the variable at once?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would be so grateful of your help?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have several variables value that need to be converted from character to numeric, how can i do it once?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Dec 2018 19:23:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/converting-character-value-to-numeric/m-p/521262#M141406</guid>
      <dc:creator>Dhana18</dc:creator>
      <dc:date>2018-12-13T19:23:41Z</dc:date>
    </item>
    <item>
      <title>Re: converting character value to numeric</title>
      <link>https://communities.sas.com/t5/SAS-Programming/converting-character-value-to-numeric/m-p/521268#M141407</link>
      <description>&lt;P&gt;Could you please check if there is any missing character data. Because the missing character data when converted to numeric take dot value. it is representation of missing numeric data in SAS.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Dec 2018 19:39:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/converting-character-value-to-numeric/m-p/521268#M141407</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2018-12-13T19:39:58Z</dc:date>
    </item>
  </channel>
</rss>

