|
Because there is no code and no sample data in the problem statement, I can
only speculate.
The PROC MEANS result is numeric. The macrovariable is a character string.
If the necessary conversion is done with the default BEST12. format, you
may encounter rounding (not truncation). Try converting with the PUT
function, specifying an appropriate format (like 20.14 or E12.).
On Tue, 25 May 2004 17:49:17 GMT, David Wright <David_wright@SPRA.COM>
wrote:
>I am trying to find the smallest value of a variable and then output in a
>macro variable. I do proc means, put the min value in output statement,
then
>use a datastep to output the value into a macro variable. But, for some
>reason, the value is truncated after it gets out of proc means.
|