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 (January 2005, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 20 Jan 2005 18:19:32 +0000
Reply-To:     toby dunn <tobydunn@HOTMAIL.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         toby dunn <tobydunn@HOTMAIL.COM>
Subject:      Re: picture format
Comments: To: ryersond@YAHOO.COM
In-Reply-To:  <20050120180120.8256.qmail@web60810.mail.yahoo.com>
Content-Type: text/plain; format=flowed

David,

this line say :

0 - < 10

tells sas apply the format to any number greater than 0 up to 10, you may want to replace the " - < " with 0 - 10 should encompass the zero and/or 0.0 .

HTH

Toby Dunn

From: David Ryerson <ryersond@YAHOO.COM> Reply-To: David Ryerson <ryersond@YAHOO.COM> To: SAS-L@LISTSERV.UGA.EDU Subject: picture format Date: Thu, 20 Jan 2005 10:01:20 -0800

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


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