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 2001, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 17 May 2001 14:58:25 -0400
Reply-To:     "Shilling, Brian [PRI]" <BShillin@PRIUS.JNJ.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         "Shilling, Brian [PRI]" <BShillin@PRIUS.JNJ.COM>
Subject:      Re: Numeric Format that includes positive (+) sign?
Comments: To: John Jones <jonesj@PHARMARESEARCH.COM>
Content-Type: multipart/alternative;

John,

Try using a picture format, like this.....

proc format;

picture numbers

low - 0 = '000,009.99' 0 - high = 000,009.99' prefix='+') ; run;

HTH

Brian

> -----Original Message----- > From: John Jones [SMTP:jonesj@PHARMARESEARCH.COM] > Sent: Thursday, May 17, 2001 2:47 PM > To: SAS-L@LISTSERV.UGA.EDU > Subject: Numeric Format that includes positive (+) sign? > > > Does anyone know of a format that prefixes a positive sign if the number > is > 0? > > ex: > > Numb = 100; > Char = put(Numb, <format4.>); > put Char=; > > Char=+100 > > John > > > > > _________________________________________________________ > John T. Jones -- Phone: (910) 509-4814 -- JonesJ@PharmaResearch.com > > `,,`,,`,,``,, > > ` Rise above the obstacles in ``,, > ` life and focus on the positive.``,, > `,,`,,`,,``,,


[text/html]


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