<?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 converting variable type fron character to numeric in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/converting-variable-type-fron-character-to-numeric/m-p/23787#M287709</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; another way to change Character variable to numeric variable,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Char_Var *1;&lt;/P&gt;&lt;P&gt;or&amp;nbsp; Char_Var+0;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Jun 2011 20:18:34 GMT</pubDate>
    <dc:creator>QLi</dc:creator>
    <dc:date>2011-06-30T20:18:34Z</dc:date>
    <item>
      <title>converting variable type fron character to numeric</title>
      <link>https://communities.sas.com/t5/SAS-Programming/converting-variable-type-fron-character-to-numeric/m-p/23778#M287700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need help in converting variable type from character to numeric.&amp;nbsp; I want to concatenate 3 datasets but I then discover that one variable defined as numeric in 2 of the datasets while it was character in the 3rd datasets.&amp;nbsp; ﻿How do i go about this?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;fadtt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jun 2011 14:44:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/converting-variable-type-fron-character-to-numeric/m-p/23778#M287700</guid>
      <dc:creator>fadtt</dc:creator>
      <dc:date>2011-06-30T14:44:59Z</dc:date>
    </item>
    <item>
      <title>converting variable type fron character to numeric</title>
      <link>https://communities.sas.com/t5/SAS-Programming/converting-variable-type-fron-character-to-numeric/m-p/23779#M287701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use input function to convert Character values to Numeric values. You may change the informat based on your data. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For e.g. numvar = input(charvar,best.);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jun 2011 14:58:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/converting-variable-type-fron-character-to-numeric/m-p/23779#M287701</guid>
      <dc:creator>NickR</dc:creator>
      <dc:date>2011-06-30T14:58:18Z</dc:date>
    </item>
    <item>
      <title>converting variable type fron character to numeric</title>
      <link>https://communities.sas.com/t5/SAS-Programming/converting-variable-type-fron-character-to-numeric/m-p/23780#M287702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thanks, I already tried the input function but the type did not change thereby preventing me from concatenating the datasets.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jun 2011 15:08:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/converting-variable-type-fron-character-to-numeric/m-p/23780#M287702</guid>
      <dc:creator>fadtt</dc:creator>
      <dc:date>2011-06-30T15:08:22Z</dc:date>
    </item>
    <item>
      <title>converting variable type fron character to numeric</title>
      <link>https://communities.sas.com/t5/SAS-Programming/converting-variable-type-fron-character-to-numeric/m-p/23781#M287703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It would help if you can post your sample data and code. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jun 2011 15:21:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/converting-variable-type-fron-character-to-numeric/m-p/23781#M287703</guid>
      <dc:creator>NickR</dc:creator>
      <dc:date>2011-06-30T15:21:42Z</dc:date>
    </item>
    <item>
      <title>converting variable type fron character to numeric</title>
      <link>https://communities.sas.com/t5/SAS-Programming/converting-variable-type-fron-character-to-numeric/m-p/23782#M287704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thanks NickR,&lt;/P&gt;&lt;P&gt;I tried it again and it worked. I was amazed. I appreciate it.&lt;/P&gt;&lt;P&gt;fadtt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jun 2011 15:34:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/converting-variable-type-fron-character-to-numeric/m-p/23782#M287704</guid>
      <dc:creator>fadtt</dc:creator>
      <dc:date>2011-06-30T15:34:07Z</dc:date>
    </item>
    <item>
      <title>converting variable type fron character to numeric</title>
      <link>https://communities.sas.com/t5/SAS-Programming/converting-variable-type-fron-character-to-numeric/m-p/23783#M287705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Fadtt,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This post would be better in the SAS Macro, Data Step... Community.&amp;nbsp; This community is for getting started with using Communities, not for getting started with using SAS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You got your answer, and that's good, but more people would have seen it in the other forum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Doc Muhlbaier&lt;/P&gt;&lt;P&gt;Duke&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jun 2011 15:36:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/converting-variable-type-fron-character-to-numeric/m-p/23783#M287705</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2011-06-30T15:36:49Z</dc:date>
    </item>
    <item>
      <title>converting variable type fron character to numeric</title>
      <link>https://communities.sas.com/t5/SAS-Programming/converting-variable-type-fron-character-to-numeric/m-p/23784#M287706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Did I offend you by posting my question because I don't understand your comment.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jun 2011 15:44:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/converting-variable-type-fron-character-to-numeric/m-p/23784#M287706</guid>
      <dc:creator>fadtt</dc:creator>
      <dc:date>2011-06-30T15:44:58Z</dc:date>
    </item>
    <item>
      <title>converting variable type fron character to numeric</title>
      <link>https://communities.sas.com/t5/SAS-Programming/converting-variable-type-fron-character-to-numeric/m-p/23785#M287707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No offense at all.&amp;nbsp; I saw you hadn't posted before and was offering a suggestion for more effective posting.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;There are lots of Forums for posting questions at &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://communities.sas.com/index.jspa"&gt;http://communities.sas.com/index.jspa&lt;/A&gt;&lt;SPAN&gt; .&amp;nbsp; The one that is most pertinent to your question is "SAS Macro Facility, Data Step, and SAS Language Elements".&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This Forum ("&lt;A _jive_internal="true" href="https://communities.sas.com/community/getting-started"&gt;Getting Started: Community Instructions, Usage Tips, and Feedback&lt;/A&gt;") is designed for comments and questions about how to use the SAS Communities system itself.&amp;nbsp; Right now, because SAS just moed to this platform, there are a lot of people watching this forum.&amp;nbsp; As people get more comfortable with the process, there are likely to be fewer and fewer people looking at it to be available to answer SAS usage questions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Doc Muhlbaier&lt;/P&gt;&lt;P&gt;Duke&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jun 2011 17:39:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/converting-variable-type-fron-character-to-numeric/m-p/23785#M287707</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2011-06-30T17:39:06Z</dc:date>
    </item>
    <item>
      <title>converting variable type fron character to numeric</title>
      <link>https://communities.sas.com/t5/SAS-Programming/converting-variable-type-fron-character-to-numeric/m-p/23786#M287708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I appreciate your advise. I am a bit new to discussion forum but I needed help at the time I just decided to make use of what I have on hand.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jun 2011 18:46:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/converting-variable-type-fron-character-to-numeric/m-p/23786#M287708</guid>
      <dc:creator>fadtt</dc:creator>
      <dc:date>2011-06-30T18:46:48Z</dc:date>
    </item>
    <item>
      <title>converting variable type fron character to numeric</title>
      <link>https://communities.sas.com/t5/SAS-Programming/converting-variable-type-fron-character-to-numeric/m-p/23787#M287709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; another way to change Character variable to numeric variable,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Char_Var *1;&lt;/P&gt;&lt;P&gt;or&amp;nbsp; Char_Var+0;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jun 2011 20:18:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/converting-variable-type-fron-character-to-numeric/m-p/23787#M287709</guid>
      <dc:creator>QLi</dc:creator>
      <dc:date>2011-06-30T20:18:34Z</dc:date>
    </item>
  </channel>
</rss>

