Your method works if there is no other special scenarios, such as scientific notations, for example "12E4". You maybe able to exhaust all of the possibilities, but the best practice is to let SAS to worry about it. I vote for Richard's solution. Haikuo
... View more