l****g 发帖数: 304 | 1 The default length for the variable is 8. , so why the answer is b, not a?
Is the length of '90800000.87' greater than 8?
Thanks!
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?
a. animal1 animal2 mlgrams1 mlgrams2
hummingb ostrich 54000.39 90800000
b. animal1 animal2 mlgrams1 mlgrams2
hummingb ostrich | A*********u 发帖数: 8976 | 2 http://www.caspur.it/risorse/softappl/doc/sas_docs/win/numvar.htm
The default length for the variable is 8. , so why the answer is b, not a?
Is the length of '90800000.87' greater than 8?
Thanks!
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?
a. animal1 animal2 mlgrams1 mlgrams2
hummingb ostrich 54000
【在 l****g 的大作中提到】 : The default length for the variable is 8. , so why the answer is b, not a? : Is the length of '90800000.87' greater than 8? : Thanks! : 33.The following SAS program is submitted: : data test; : input animal1 $ animal2 $ : mlgrams1 mlgrams2; : cards; : hummingbird ostrich 54000.39 90800000.87 : ;
| l****g 发帖数: 304 | 3 Thanks, dose that mean ONE BYTE can store 2 digits?
8 Byte --------- 9,007,199,254,740,992 Not inculeded the comma, there are
total 16 digits. | l****g 发帖数: 304 | 4 Thanks, dose that mean ONE BYTE can store 2 digits?
8 Byte --------- 9,007,199,254,740,992 Not inculeded the comma, there are
total 16 digits. | A*********u 发帖数: 8976 | 5 跟几个digits没关系
你看到的digits是十进制
计算机是二进制
Thanks, dose that mean ONE BYTE can store 2 digits?
8 Byte --------- 9,007,199,254,740,992 Not inculeded the comma, there are
total 16 digits.
【在 l****g 的大作中提到】 : Thanks, dose that mean ONE BYTE can store 2 digits? : 8 Byte --------- 9,007,199,254,740,992 Not inculeded the comma, there are : total 16 digits.
| l****g 发帖数: 304 | 6 Thanks, still some confusing, however found a previous post for this
question. |
|