LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (April 2003, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 10 Apr 2003 09:07:39 -0500
Reply-To:     A Sanders <asanders163@HOTMAIL.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         A Sanders <asanders163@HOTMAIL.COM>
Subject:      Re: switch variable character into numeric
Comments: To: kfran@FR.ST
Content-Type: text/html

<html><div style='background-color:'><DIV> <P>Hi Kfran,</P> <P>in order to advise you on the informat you would want to use, more information about your varaible is required.&nbsp; Variable&nbsp;characteristics&nbsp;must be considered in order to choose the appropriate informat. Does your raw data contain numbers with commas, dollar signs, or other elements that would render it unsuitable as a SAS numeric variable.&nbsp; The informat you choose will be dependant on knowing this.</P> <P>&nbsp;</P> <P>A<BR></P></DIV> <DIV></DIV> <DIV></DIV>&gt;From: kfran <KFRAN@FR.ST> <DIV></DIV>&gt;Reply-To: kfran <KFRAN@FR.ST> <DIV></DIV>&gt;To: SAS-L@LISTSERV.UGA.EDU <DIV></DIV>&gt;Subject: switch variable character into numeric <DIV></DIV>&gt;Date: Wed, 9 Apr 2003 14:59:46 -0700 <DIV></DIV>&gt; <DIV></DIV>&gt;Hi, <DIV></DIV>&gt;I am a French student <DIV></DIV>&gt;I have a problem on SAS I want to switch a character variable into numeric variable <DIV></DIV>&gt;for that I use the function inputn(source, informat., W, d) <DIV></DIV>&gt;soucre -&gt; name of the variable <DIV></DIV>&gt;informat -&gt; I do not know what write <DIV></DIV>&gt;can you help me <DIV></DIV>&gt;thank you in advance <DIV></DIV></div><br clear=all><hr>Add photos to your e-mail with <a href="">MSN 8.</a> Get 2 months FREE*.</html>

Back to: Top of message | Previous page | Main SAS-L page