Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Get decimal portion
Message
 
À
13/05/2007 04:07:09
Reza Meamar
Homa Programming Group
Shiraz, Iran
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 7 SP1
Divers
Thread ID:
01225039
Message ID:
01225300
Vues:
23
>I want to get 23 from 987.230 value.
>Is any function for this?
>Thanks

If you want the "23" as a character field you can do this:

JUSTEXT(TRANSFORM(987.23))

If you want it as a numeric value, just wrap the above with VAL():

VAL(JUSTEXT(TRANSFORM(987.23)))
Cathy Pountney, Microsoft Visual FoxPro MVP
Memorial Business Systems, Inc. (www.mbs-intl.com)

My Website: (www.frontier2000.com)
My Blog: (www.cathypountney.blogspot.com)
My Book: The Visual FoxPro Report Writer - Pushing it to the Limit and Beyond
Free MSDN Article: What's New in the VFP 9.0 Report Writer
Free MSDN Article: The VFP 9.0 Report Writer In Action
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform