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
How does proc sql work?
what is treatment emergent events and treatment emregent adverse event
why is a stop statement needed for the point=option on a set statement? : Sas programming
What are the implications?
Do we follow ADAM in analysis dataset development?How? Usually which version? Why is it necessary?
What are the difference between the sas data step and sas procs?
How would you invoke a macro? : sas-macro
Why double trailing @@ is used in input statement?
Which command is used to perform sorting in sas program?
what is change analysis in sas di ? : Sas-di
This entry was posted in General. Bookmark the permalink. Post a comment or leave
How we can call macros with in data step? : sas-macro
name some data transformation used in sas di? : Sas-di
Difference between nodup and nodupkey options?
What is a macro routine?