Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Numeric Function
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00257970
Message ID:
00257998
Vues:
20
Here's an Odd Predicate function
FUNCTION OddP(n)
return 1 = mod(int(n), 2)
endfunc
hth
>Am I missing the boat here.
>
>Is there a way to determine is a numeric value is odd or even? or even whole or fractional?
>
>Thanks
Roi
'MCP' Visual FoxPro

In Rome, there was a poem.
About a dog, who found two bone.
He lick the one, he lick the other.
He went pyscho, he drop dead!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform