2

I am creating a numeric version of a character variable in SAS. I am using the best32. numeric format along with an input statement, as I do not want to lose any data.

Below is an example that in which SAS is dropping data and I am unclear as to why.

   DATA trial;
X='1264263.336532';
Y=INPUT(X,BEST32.);
PUT Y;
RUN;

Y is only 1264263.3365 and not X. I am unsure why this is happening.

4

1 回答 1

4

SAS 在默认的 BEST12 中显示数字。格式。尝试 PUT Y best32.; 反而

于 2013-11-14T17:53:16.270 回答