|
Maybe something like that:
proc format;
picture test
0-<10 = "9.0000"
10-<100 = "09.000"
100-<1000 = "009.00"
1000-<10000 = "0009.0"
10000-high = "00009";
run;
data test;
x=145.12345;
put x test.;
x=1.23456789;
put x test.;
run;
if you have also smaller values, you might to use something like
proc format;
picture test
0.0-<1.0 = "9.9999"
1.0-<10 = "0.0000"
10-<100 = "00.000"
100-<1000= "000.00"
1000-<10000 = "0000.0"
10000-high = "00000";
run;
data test;
x=145.12345;
put x test.;
x=0.03456789;
put x test.;
run;
On Thu, 5 Oct 2006 04:18:03 -0700, RAMS <ramsathish@GMAIL.COM> wrote:
>Hi all,
>
> We are summarizing the output with the length of 5
>significance. The following are the examples of 5 significance,
>
> 9.1423
> 24.123
> 145.26
>Like that
>
>In the Proc means syntax the maxdec is useful only for common decimal
>places. How can I get the output like this? Anyone please help me.
|