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


Please Help Members By Posting Answers For Below Questions

what is star schema? : Sas-di

647


How to specify variables to be processed by the freq procedure?

616


why a stop statement is needed for the point= option on a set statement?

625


What is the difference between where and if statement?

619


What are the differences between proc means and proc summary?

602






what versions of sas have you used (on which platforms)? : Sas programming

584


How do you convert basic cube to transaction cube and transaction cube to basic cube?

1774


What are the statements that are executed only?

674


what are 5 ways to perform a table lookup in sas? : Sas-administrator

765


What do you understand by the term Normal Distribution?

570


what is sas metadata server? : Sas-di

593


What is the difference between SAS functions and procedures?

659


I have a dataset concat having variable a b & c. How to rename a b to e & f?

580


what is the Population you used in your project, is it ITT or PP?

2183


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

580