sas中字符与数字型的数据类型转换
数值转换为字符:
data;
x=2557898;
y=put(x, $8.);
put y;
run;
字符转换为数值:
data;
x=2557898;
y=put(x, 8.); 或y=x-0;
put y;
run;