Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Check digit
Message
 
 
To
23/07/2012 00:15:47
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
01548974
Message ID:
01548975
Views:
81
Likes (1)
lcDigits = "0123456789"
? LEN(CHRTRAN(lcValue, lcDigits, "")) = 0
>I use ISDIGIT(abc) to check if the variable is numeric
>
>
>abc='12345'
>?isdigit(abc)
>
>
>but it doen't work well, because ISDIGIT only check for the first character only
>
>
>abc='1A345'
>?isdigit(abc)
>
>
>will also .T.
>
>is there anyway to make sure the whole characters is numeric?
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform