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
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. Variable characteristics 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. The informat you choose will be dependant on knowing this.</P>
<P> </P>
<P>A<BR></P></DIV>
<DIV></DIV>
<DIV></DIV>>From: kfran <KFRAN@FR.ST>
<DIV></DIV>>Reply-To: kfran <KFRAN@FR.ST>
<DIV></DIV>>To: SAS-L@LISTSERV.UGA.EDU
<DIV></DIV>>Subject: switch variable character into numeric
<DIV></DIV>>Date: Wed, 9 Apr 2003 14:59:46 -0700
<DIV></DIV>>
<DIV></DIV>>Hi,
<DIV></DIV>>I am a French student
<DIV></DIV>>I have a problem on SAS I want to switch a character variable into numeric variable
<DIV></DIV>>for that I use the function inputn(source, informat., W, d)
<DIV></DIV>>soucre -> name of the variable
<DIV></DIV>>informat -> I do not know what write
<DIV></DIV>>can you help me
<DIV></DIV>>thank you in advance
<DIV></DIV></div><br clear=all><hr>Add photos to your e-mail with <a href="http://g.msn.com/8HMKENUS/2746">MSN 8.</a> Get 2 months FREE*.</html>
|