From: Arthur Tabachneck on 23 Dec 2009 16:37 You will get a better response if you provide an example data file. One possibility is that 7.4 isn't large enough to put your data unless it is written in scientific notation. For example: data have; input x; cards; 504E9 505E10 506E11 ; filename stuff "k:\art\test.txt"; data _null_; set have; file stuff; put x 20.4; run; Using 7.4 in the above example would have produced three numbers written in their scientific notation format. Art --------- On Wed, 23 Dec 2009 16:13:07 -0500, William Shakespeare <shakespeare_1040(a)HOTMAIL.COM> wrote: >I have some numeric data that I want to output to a text file. Some of >the data display as scientific notation in when I go to the table viewer >in SAS. I would like to format these as 7.4. I have tried: > > put varname 7.4 ; > >to reformat the data but it still appears as scientific notation in the >text file. How can I obtain the the data as 7.4 in my text file?
|
Pages: 1 Prev: scientific notation Next: Deleting all worksheets in an Excel workbook |