Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Convert numeric to integer
Message
De
08/12/1997 19:18:44
Dave Emerson
Dc Emerson Consult8Ng, Inc
Destin, Floride, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Convert numeric to integer
Divers
Thread ID:
00064551
Message ID:
00064551
Vues:
87
Has anyone run across how to or know how to take a numeric variable and insert it into an integer data field?

I am calculating some values and only need the integer portion of the result. I can use the INT() or ROUND() functions to leave just the integer portion of the result, but VFP won't let be replace the Interger field with the ROUNDed result.

The LOCALS window of DEBUG shows that the result is still a Numeric. Is there a way to convert it to an Integer value?

TIA,
Dave
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform