Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Geting the decimal part of a number
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00939304
Message ID:
00939987
Vues:
14
>>I'm trying to find a function in VFP8 that will return the decimal part of a number. eg 89.55 Should return 55
>
>I'm late to this party .. but give this a try:
>
>
>JUSTEXT(TRANSFORM(89.55))
>
>
>Cathy

hi Cathy,

this takes care of the current decimal point
?justext(strtran(padl(33.45,32), set('point'), '.'))
Gregory
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform