04-27-2018 12:47 AM
I am trying to convert a character variable to numeric
I have a column of data with the following attributes:
Data Set Name: woleaim1
These data are formatted as character and I want to convert it to numeric. I tried the following command
age_num = input(age, $3.);
This is the error message below:
NOTE: Numeric values have been converted to character values at the places given by: (Line)Column).
NOTE: Variable age is uninitialized.
NOTE: The data set WORK.WOLEAIM1 has 1 observations and 2 variables.
Need further help from the community? Please ask a new question.