c***y 发帖数: 50 | 1 #79
The following SAS program is submitted:
data work.products;
Product_Number = 5461;
Item = '1001';
Item_Reference = Item!!'/'!!Product_Number;
run;
Which one of the following is the value of the variable ITEM_REFERENCE in
the output data set?
A. 1001/5461
B. 1001/ 5461
C. . (missing numeric value)
答案是B,为什么不选A?
B里面那个空格怎么来的?
多谢多谢~~~ |
z***9 发帖数: 1052 | 2 Product_Number = 5461
one space after = |
x******n 发帖数: 173 | 3 don't mislead people
【在 z***9 的大作中提到】 : Product_Number = 5461 : one space after =
|
n****y 发帖数: 28 | 4 这个我倒是知道,因为numerical 转换成 char, 所以换成了长度为12的字符串,其实
前面不只一个空格,该有8个空格。 |