Date: Tue, 9 Nov 2004 11:54:15 -0800
Reply-To: "Choate, Paul@DDS" <pchoate@DDS.CA.GOV>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Choate, Paul@DDS" <pchoate@DDS.CA.GOV>
Subject: Re: length of numeric variable
Seema -
Practical advice - Keep it a character variable, or break it into two
sixteen digit numbers.
Paul Choate
DDS Data Extraction
(916) 654-2160
-----Original Message-----
From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of seema
Sent: Monday, November 08, 2004 11:58 AM
To: SAS-L@LISTSERV.UGA.EDU
Subject: length of numeric variable
Hi,
I am converting a charater variable with the length of 35 to a numeric
one. I use the command "newvar=input(oldvar, 35.)". The log says the
width specified is invalid. When I use the command
"newvar=input(oldvar, 32.)", the log seems fine but the number is
actually truncated. What is wrong here?
Thanks.
|