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 / srinivasa rao
Using input function
data jaganl.1;
input bp$;
a=input(bp);
cards;
100/90
120/89
112/87
;
run;
| Is This Answer Correct ? | 1 Yes | 9 No |
Post New Answer View All Answers
what is the different between functions and procs that calculate the same simple descriptive statistics? : Sas programming
Explain input and put function?
What do the sas log messages “numeric values have been converted to character” mean? What are the implications?
What are symget and symput? : sas-macro
What is SAS? What are the functions does it performs?
how do you pull data from equifax?tell me the process?
What is the difference between input and infile statement?
why a stop statement is needed for the point= option on a set statement?
What are the difference between sas functions and procedures?
If you were told to create many records from one record, show how you would do this using array and with proc transpose?
it will become easy if uuu provide website linkssss and list of consultanciessssss
How necessary is it to be creative in your work?
What is the difference between using drop = data set option in data statement and set statement?
what is data access? : Sas-di
How we can call macros with in data step? : sas-macro