Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How does MOD() work?
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
How does MOD() work?
Divers
Thread ID:
00302170
Message ID:
00302170
Vues:
53
From the VFP5 help file...

? MOD(36,10) && Displays 6
? MOD((4*9), (90/9)) && Displays 6
? MOD(25.250,5.0) && Displays 0.250

I agree with the first two but why does the last
one display .250 when 25.25/5=5.05?

Similarly ? mod(1999,4) displays 3 instead of 75.

What am I missing?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform