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


Please Help Members By Posting Answers For Below Questions

What is a pdv and what are its functions?

598


What are the features of base sas system?

611


how can you put a "trace" in your program? : Sas programming

576


what can you learn from the sas log when debugging? : Sas programming

607


Why and when do you use proc sql?

757






What is the difference between %local and %global? : sas-macro

667


What are the default statistics for means procedure?

640


what is SAS OPTIMIZATION?

1813


what is function of retain statment

1522


How does proc sql work?

613


What do you know about symput and symget?

727


In sas, what are the areas that you are most interested in? : sas-grid-administration

636


how does sas handle missing values in functions? : Sas programming

599


What do you know about sas and what we do? : sas-grid-administration

597


Give some examples where proc report’s defaults are same as proc print’s defaults?

637