I am trying to add .0 to a numeric variable to a subset of values. The expected output variable should also be numeric. here is the sample dataset.
data test;
a=0; output;
a=1; output;
a=2; output;
a=3; output;
a=95; output;
run;
.0 is to be added only where a=0,1,2,3 and NOT 95. So the expected output is:
0.0,1.0,2.0,3.0,95
No custom formats are to be created, this is a restriction for my data. Please assist.
Thank You.