i know there is put statement, that can add "," to the number, thus, 2378912 can be changed to 2378,912
PUT INCOME2 comma8.2;
variable Number and percent
expect, number will be like, 1234,569
percent will be like, 0.63
my question is I am not using proc sql, nor any data steps. I am using proc freq and hope the output be like 2378,129 instead of 2378129
since the code will be
proc freq,
proc print
I do not know where I can put commax statement, or how to change the format of numbers, to add "," to the total number, but without dicimal, 2378,129 not 2378,129.0. however, in the same output, i want to the percent will be 0.63
would anybody provide a sample code?
Thanks.
... View more