No it doesn't. It compares character by character. You need to convert your characters to numeric for such a comparison.
23 data _null_; 24 types='2'; 25 if types<='10' then put 'TRUE'; 26 else put 'FALSE'; 27 28 if input(types,best32.)<=10 then put 'TRUE'; 29 else put 'FALSE'; 30 31 run;
FALSE TRUE
The 2025 SAS Hackathon has begun!
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.