Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to store 3 zeros in a numeric field?
Message
 
À
21/11/2002 20:22:05
Henry Ravichander
RC Management Systems Inc.
Saskatchewan, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00725567
Message ID:
00725645
Vues:
10
Henry,

You have gotten some ideas in this thread. However, I would propose that if this value needs to show three 0's then it is NOT numeric data. In numeric data there is only one value for zero and that is 0. All of the ideas you have gotten are to convert the numeric data to character for display. I would propose that the field should be character and converted to numeric when calculations need to be done. If thre field is character then you have no problem as 000 is a different character value than 0, for numeric they are both the same value.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform