LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (April 2000, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Mon, 24 Apr 2000 13:24:07 -0400
Reply-To:   Abelson_R <Abelson_R@BLS.GOV>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Abelson_R <Abelson_R@BLS.GOV>
Subject:   Re: format W.D
Content-Type:   text/plain

Wei,

Check out the BEST. informat. It worked when I tried it on your data.

HTH.

Robert Abelson Bureau of Labor Statistics abelson_r@bls.gov "Special Relativity: The person in the other queue thinks yours is moving faster."

> ---------- > From: wei cheng[SMTP:cheng_wei@HOTMAIL.COM] > Sent: Monday, April 24, 2000 1:14 PM > To: SAS-L@LISTSERV.UGA.EDU > Subject: format W.D > > Hi all, > > I have a character variable looks like: > > 12.5 > 9.00 > 0.335 > 1.34 > 168 > 23.9 > > I use input function to conver it to numeric and use format 8.2, it works > fine for all other values except 168 which became 1.68 and is not correct. > I > can use IF condition to correct it. But I want to ask is there any good > format in SAS that can be used in the input function and solve this > problem? > > TIA, > > Wei > ________________________________________________________________________ > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com >


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