data jagan1.s;
input bp$;
cards;
100/90
120/89
112/87
run;
in the above code how to convert character data values to numeric data values?
Answer Posted / aaaa
data jagan1.s;
infile cards dlm='/' dsd;
input b p;
cards;
100/90
120/89
112/87
run;
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
what is star schema? : Sas-di
How to specify variables to be processed by the freq procedure?
why a stop statement is needed for the point= option on a set statement?
What is the difference between where and if statement?
What are the differences between proc means and proc summary?
what versions of sas have you used (on which platforms)? : Sas programming
How do you convert basic cube to transaction cube and transaction cube to basic cube?
What are the statements that are executed only?
what are 5 ways to perform a table lookup in sas? : Sas-administrator
What do you understand by the term Normal Distribution?
what is sas metadata server? : Sas-di
What is the difference between SAS functions and procedures?
I have a dataset concat having variable a b & c. How to rename a b to e & f?
what is the Population you used in your project, is it ITT or PP?
how does sas handle missing values in formats? : Sas programming