Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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


Please Help Members By Posting Answers For Below Questions

What is the difference between where and if statement?

1151


What is the function of output statement in a SAS Program?

1123


Mention what is PROC in SAS?

1113


Explain how merging helps to combine data sets.

1112


Describe the function and utility of the most difficult SAS macro that you have written?

2627


What are SAS/ACCESS and SAS/CONNECT?

1191


what cause the "error: connect:" and "error in the libname statement" when there weren't any such problems?

2230


Tell e how how dealt with..

2265


How does the internal authentication work in sas? : sas-grid-administration

1169


If a variable contains only numbers, can it be a character data type?

1140


How to sort in descending order?

1298


what are input dataset and output dataset options? : Sas programming

1170


In sas, what are the areas that you are most interested in? : sas-grid-administration

1130


What versions of SAS have you used (on which platforms)?

1565


what is scheduling and how will u implement it. In scheduling 5 jobs r running if there is an error occured at 3rd job and how will u check and waht necessary steps will u take not to repeat the same mistake

2419