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;



In the following DATA step, what is needed for ‘fraction’ to print to the log? data _null_; x=1..

Answer / 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

More SAS Interview Questions

how could you generate test data with no input data? : Sas programming

0 Answers  


how to import XTP files into SAS datasets?

1 Answers   Barclays, Institute For Plasma Research,


What areas of SAS are you most interested in?

0 Answers   Quintiles,


what is difference in window SAS & Unix SAS.....how do define working environment in both???

1 Answers   JPMorgan Chase,


How to create a permanent sas data set?

0 Answers  






how do you debug and test your sas programs? : Sas programming

0 Answers  


What’s the difference between var b1 – b3 and var b1 — b3?

0 Answers  


What statement do you code to tell SAS that it is to write to an external file? What statement do you code to write the record to the file?

2 Answers   Accenture,


What do you know about sas data set?

0 Answers  


how do you pull data from equifax?tell me the process?

0 Answers   Synchrony Financial,


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

0 Answers  


What is univariate n where it can be used n how...?

2 Answers  


Categories