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?
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]
|