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 (May 2009, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Wed, 6 May 2009 14:34:52 -0400
Reply-To:   msz03@albany.edu
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Mike Zdeb <msz03@ALBANY.EDU>
Subject:   Re: How to read negative value variable?
Content-Type:   text/plain;charset=iso-8859-1

hi ...

data y; input x trailsgn.; datalines; 4.71- 50.21 ; run;

proc print data=y; run;

-- Mike Zdeb U@Albany School of Public Health One University Place Rensselaer, New York 12144-3456 P/518-402-6479 F/630-604-1475

> We have a raw data file that contains negative number. If value is > negative then there will dash at the end otherwise it will be blank. > > Numeric variable look like this: > 4.71- > 50.21 > > I search online but could not find informat can read numeric variable with > dash sign at the end. > > Do you know any informat that can read negative number? > > Thanks >


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