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 19:07:41 +0000
Reply-To:     iw1junk@COMCAST.NET
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Ian Whitlock <iw1junk@COMCAST.NET>
Subject:      Re: picture format
Comments: cc: David Ryerson <ryersond@YAHOO.COM>

Dave,

The correct form of the code is:

proc format ; picture mypctf 0 - < 10 = "009.0%)" ( prefix = "( " ) 10 - < 100 = "009.0%)" ( prefix = "( " ) 100 - < 1000 = "009.0%)" ( prefix = "(" ) other = " " ; run;

More than 0 behaved in an odd manner with the original code. Take a look at 0.1.

Ian Whitlock ================== Date: Thu, 20 Jan 2005 10:01:20 -0800 Reply-To: David Ryerson <ryersond@YAHOO.COM> Sender: "SAS(r) Discussion" Comments: DomainKeys? See http://antispam.yahoo.com/domainkeys From: David Ryerson <ryersond@YAHOO.COM> Subject: picture format Content-Type: text/plain; charset=us-ascii 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


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