Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Some function?
Message
From
08/10/2002 18:28:42
Fabian Belo
Independent Developer
Argentina
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00709013
Message ID:
00709064
Views:
17
Thanks Ed. I'm already using LEN&CHRTRAN under Sergey's advice. No decimals needed so it works fine.

>
>I can think of a couple, if you ignore the possibility of a multiplicity of decimal points, the simple LEN(CHRTRAN(ALLTRIM(MyStringToTest),'-0123456789.',''))=0 indicates a 'legal' numeric content; additional rules as to the position of a sign, the existance of no more than a single decimal point, the possibility of a scientific notation in a numeric, etc.
"Since I've read that alcohol is bad... I quit reading."
Me


http://www.fabianbelo.com.ar
Previous
Reply
Map
View

Click here to load this message in the networking platform