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
how does sas handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, procs? : Sas programming
Describe the function and utility of the most difficult SAS macro that you have written?
how we can create a FLAG datasets? Ex:-ID age_group no_persons 1 to 10 10 to 20 3 11 to 20 21 to 30 7 21 to 3o 31 to 40 5
what are all the reports you generated in your recent project?
how do you want missing values handled? : Sas programming
what are the benefits of data integration? : Sas-di
If a variable contains only numbers, can it be a character data type?
is data integration and etl programming is same? : Sas-di
What is PROC in SAS?
How can I remove header from output data set?
how would you determine the number of missing or nonmissing values in computations? : Sas programming
Briefly explain input and put function?
Difference between informat and format?
What is a macro routine?
Can you execute macro within another macro? : sas-macro