SAS_Institute
A00-212 · Question #180
The following SAS program is submitted: What is the value of the macro variable Newval when the %PUT statement executes?
The correct answer is C. 1. Explanation/Reference: %PUT statement shows that %EVAL discards the fractional part when it performs division on integers that would result in a fraction.
iWork Integration
Question
The following SAS program is submitted:
What is the value of the macro variable Newval when the %PUT statement executes?
Exhibit
Options
- A0.555
- B2.2
- C1
- D2
How the community answered
(17 responses)- A6% (1)
- C82% (14)
- D12% (2)
Explanation
Explanation/Reference: %PUT statement shows that %EVAL discards the fractional part when it performs division on integers that would result in a fraction.
Topics
#macro variable#PUT statement#macro evaluation#SAS macros
Community Discussion
No community discussion yet for this question.
