Using SAS 9.4
I am having trouble converting numeric data into character data. I am using the following code:
data want;
set have;
med2_dose = input(med2_dose, 6.);
run;
The data are purely numbers (ie 1, 20, 25, 100, 250, etc.)
Whenever I run this code all of the numeric data is lost in the new variable but it is converted to character. Does anyone know how to correct this? Thank you