<p><font size="4" face="宋体">The following SAS program is submitted: <br>
%let Value=9; <br>
%let Add=5; <br>
%let Newval=%eval(&Value/&Add);<br>
%put &Newval; <br>
<br>
What is the value of the macro variable <br>
newval when the %PUT statement executes? </font></p>
<p><br>
<font size="4" face="宋体">A.0.555<br>
<br>
B.2 <br>
<br>
C.1.8 <br>
<br>
D.1 </font></p>
<p><font size="4" face="宋体">答案是D<br>
%PUT statement shows that %EVAL discards the fractional part when it performs division on integers that would result in a fraction:<br>
<br>
如果要获得准确的结果应该选择函数%sysevalf替换%eval.<br>
</font></p> <a href="http://hi.baidu.com/crack%5Fman/blog/item/7f6da00599c4ed161c9583b2.html">阅读全文</a>