s***r 发帖数: 1121 | 1 Varible
1234
123
567890
....
I want to remove the last digit; that is, 1234 -> 123; 123-> 12; 567890->
56789.
Anyone can help me? Thanks a lot.
One baozi will be given for your kind help. |
|
j****g 发帖数: 331 | 2 carfax account: j********[email protected]
pswd: 567890
May change the account or pswd in a couple of days, so use it ASAP! |
|
w********5 发帖数: 72 | 3 data file;
input num;
cards;
1234
123
567890
;
run;
data file1;
set file;
num_new=int(num/10);
run; |
|