w***y 发帖数: 114 | 1 my data:
weight height
126.1 165.5
135.3 170
162.8 145
145.3 178.5
they are char type variables with length $200. How to convert them into
numeric variable?
I use
wt=input(weight,5.1);
ht=input(height,5.1);
but it doesnot work. thanks | t**********r 发帖数: 182 | | h******e 发帖数: 1791 | 3 wt=input(trim(left(weight)),5.1)
【在 w***y 的大作中提到】 : my data: : weight height : 126.1 165.5 : 135.3 170 : 162.8 145 : 145.3 178.5 : they are char type variables with length $200. How to convert them into : numeric variable? : I use : wt=input(weight,5.1);
| o******6 发帖数: 538 | 4 wt=input(weight,8.);
ht=input(height,8.);
【在 w***y 的大作中提到】 : my data: : weight height : 126.1 165.5 : 135.3 170 : 162.8 145 : 145.3 178.5 : they are char type variables with length $200. How to convert them into : numeric variable? : I use : wt=input(weight,5.1);
|
|