>>Or, better, you can use StrFilter() from, ahem, Foxtools :)
>>
>>lcJustDigits=strfilter(myNumber, '0123456789.+-')
>>if lcJustDigits=myNumber
>> * it's really a number
>>else ... well, maybe not.
>
> I haven't seen your post, because you didn't put it in my folder :). Anyway, if it requires to set library to foxtools, I would better use George's function (my idea was similar, but since George developed it, I called it George's).
In this message you have already written "set library to foxtools", so, you see, it's not hard to do :). You can do it in your main.prg as well, and live happily ever after...