Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Only a fraction...
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00547675
Message ID:
00547679
Vues:
11
John,

Don't know if is the quickest and easist, but this will do the trick (i hope)

lnNumber=21.22
? lnNumber-int(lnNumber)

Hugo

>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
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform