Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Rounding down
Message
 
À
20/06/2000 10:04:59
Erin Eby
Mission Critical Software
Gainesville, Floride, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00382176
Message ID:
00382181
Vues:
24
Have you looked at INT(). It doesn't round, just returns the integer portion, so 2.5 becomes 2 and 2.9 becomes 2 and 2.0 becomes 2.

hth

>A random question...is there any way to round down when returning only the numbers to the left of the decimal? For example, the number being returned from an equation is 2.5 and I only need the 2 part. TIA if you have any suggestions for me... :)
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