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 (November 2006, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Mon, 6 Nov 2006 15:51:44 -0500
Reply-To:   "data _null_;" <datanull@GMAIL.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   "data _null_;" <datanull@GMAIL.COM>
Subject:   Re: How to format the numeric variable
Comments:   To: Suthakar Iyer <suthakariyer@yahoo.com>
In-Reply-To:   <20061106203744.68931.qmail@web50606.mail.yahoo.com>
Content-Type:   text/plain; charset=ISO-8859-1; format=flowed

You need to use a format that is wide enough to display the value as you desire.

Format SUMCNT f4.; /* is just wide enough */

F3. produces the result you are seeing.

This program could be used to demonstrate how format W effects the values of your variable SUMCNT.

options nocenter; data work.test; Sumcnt = 3E3; length showFormatWidth ShowEwidth $10; do w = 1 to 10; showFormatWidth = putn(sumcnt,'F',w); ShowEwidth = putn(sumcnt,'E',w); output; end; run; proc print; run;

On 11/6/06, Suthakar Iyer <suthakariyer@yahoo.com> wrote: > Hi, > Sumcnt = 3E3 ; > how to format this variable with out the scientific notations. > > Thanks > Suthakar > > > --------------------------------- > Want to start your own business? Learn how on Yahoo! Small Business. >


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