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 is the basic syntax style in SAS?
How to read an input file in sas?
describe about physical data integration? : Sas-di
explain the proc in sas? : Sas-administrator
explain the difference between alternate key, business key, foreign key, generated key, primary key, retained key and surrogate key ? : Sas-di
how can you put a "trace" in your program? : Sas programming
which date function advances a date, time or datetime value by a given interval? : Sas programming
What is the use of the %include statement?
what are informats in sas? : Sas-administrator
what is enterprise guide? What is the use of it? : Sas programming
How to specify variables to be processed by the freq procedure?
How to limit decimal places for the variable using proc means?
name several ways to achieve efficiency in your program? : Sas programming
Name types of category in which SAS Informats are placed?
what does the run statement do? : Sas programming