第33题:
The following sas program is submitted:
data test;
input animal1 $ animal2 $ mlgrams1 mlgrams2;
cards;
hummingbird ostrich 54000.39 90800000.87
;
run;
which one of the following represents the values of each variable in the output data set?
正确答案b,其中mlgrams2对应得值为90800000.87。不明白为什么,numeric variable的缺省值不是8位数吗?在data set里面并没有定义mlgrams2的长度,这时不应该是使用缺省直吗?为什么会为11位数90800000.87呢?作者: shiyiming 时间: 2007-10-8 13:47 标题: Re: 求教base50题中的两个 !!实际就是||,连接符,可能是显示的问题,实际考试不存在该问题
SAS数据库中数值占8个字节,显示格式为best12. 即能显示12位,超出部分为科学计数显示,
具体范围和数值存储详见计算机等级考试(偏软3级)教程,现在已经分为四种了,如找不到该书,建议
参照计算机方面的专著。作者: shiyiming 时间: 2007-10-8 22:03 标题: Re: 求教base50题中的两个 谢谢lilinzhong。关于第二个问题,我还是有点模糊。