In the following DATA step, what is needed for ‘fraction’ to
print to the log? data _null_; x=1/3; if x=.3333 then put
‘fraction’; run;
Answer Posted / henry
data precise;
x=1/3;
if round(x,0.0001)=.3333 then put 'fraction';
else put 'not fraction';
run;
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What do you code to create a macro? : sas-macro
explain what is data set in sas? : Sas-administrator
where are dashboard components are created and maintained? : Sas-bi
what is star schema? : Sas-di
Explain what is data step?
How would you identify a macro variable?
What are the advantages of using sas?
What do the SAS log messages "numeric values have been converted to character" mean?
What does PROC print, and PROC contents do?
Describe the ways in which you can create macro variables? : sas-macro
Describe the ways in which you can create macro variables?
How would you invoke a macro? : sas-macro
How do you specify the number of iterations and specific condition within a single do loop?
which date functions advances a date time or date/time value by a given interval? : Sas programming
Can you execute macro within another macro? : sas-macro