Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Check if integer or decimal variable
Message
From
17/01/2008 09:30:54
 
 
To
17/01/2008 09:22:18
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01282531
Message ID:
01282549
Views:
9
This message has been marked as a message which has helped to the initial question of the thread.
OK then, how about:
IF LEN (TRANSFORM (INT (MyValue))) = LEN (TRANSFORM (MyValue)) ...
>Except the particular value I test while looping through the data may be decimal based but the decimal portion happens to be .0. In other words, and perhaps this is a language problem with you beng in Qatar and all, I need to know whether the variable being tested has a decimal point in it or not :)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform