Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Only a fraction...
Message
De
22/08/2001 18:45:31
 
 
À
22/08/2001 18:03:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00547675
Message ID:
00547693
Vues:
10
>what is the quickest and easiest way to get just the fraction of a number? ie in the number 21.22, how can i get just the '22' part without the '.'
>
>tia - john

or, in addition to Sergey's solution:
lnNumber = 25.22
? int(mod(lnNumber,1)*100)
Steve Gibson
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform