Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Whole number
Message
From
26/09/2000 15:18:58
 
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Miscellaneous
Thread ID:
00421154
Message ID:
00421158
Views:
15
>Hi All:
> Any some one please tell me how to tell if the value entered is a whole number or a fraction.
>Thanks

use the mod() function.

? mod(x, 1) && returns 0 if x is a whole number
Steve Gibson
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform