Date: Thu, 20 Jan 2005 13:42:57 -0500
Reply-To: "Michael S. Zdeb" <msz03@HEALTH.STATE.NY.US>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Michael S. Zdeb" <msz03@HEALTH.STATE.NY.US>
Subject: Re: picture format
Content-type: text/plain; charset=US-ASCII
Hi...try...
proc format;
picture mypctf
0 - < 10 = "009.0%)" ( prefix = "( " )
10 - < 100 = "000.0%)" ( prefix = "( " )
100 - < 1000 = "000.0%)" ( prefix = "(" )
other = " "
;
run;
Mike Zdeb
U@Albany School of Public Health
1 University Drive
Rensselaer, NY 12144-3456
(P)518-402-6479
(F)630-604-1475
|---------+---------------------------->
| | David Ryerson |
| | <ryersond@YAHOO.C|
| | OM> |
| | Sent by: "SAS(r) |
| | Discussion" |
| | <SAS-L@LISTSERV.U|
| | GA.EDU> |
| | |
| | |
| | 01/20/2005 01:01 |
| | PM |
| | Please respond to|
| | David Ryerson |
| | |
|---------+---------------------------->
>----------------------------------------------------------------------------------------------------------------------|
| |
| To: SAS-L@LISTSERV.UGA.EDU |
| cc: |
| Subject: picture format |
>----------------------------------------------------------------------------------------------------------------------|
Hello all,
Could anyone tell my why the following format works
for any value above zero but not for 0 (or 0.0
specifically)? I've tried substituting 0.0 in for 0
in the format statement and that fails also.
proc format
picture mypctf
0 - < 10 = "000.0%)" ( prefix = "( " )
10 - < 100 = "000.0%)" ( prefix = "( " )
100 - < 1000 = "000.0%)" ( prefix = "(" )
other = " "
;
run;
Thanks as always!
Dave Ryerson
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com