Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Numeric fields
Message
 
À
25/08/1997 06:30:48
Ralf Zimmer
N:media Datapoolsystems Gmbh
Duesseldorf, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00046637
Message ID:
00046848
Vues:
20
>Hello.
>
>I have got a numeric field in a form. Input mask is 9999999.99.
>the related field in the table has got the following format:
>numeric 7 decimal 2
>
>when i trie to store from the form field the value is rounded.
>e.g. Form: 1111111.11 Table 1111111.00
>
>
>Why???? Is this a bug of foxpro?
>
>Thanx Ralf
Ralf,

No it is not a bug in foxpro it is a misunderstanding on your part. Numeric fields are sized by giving the total lenght (including the decimal pint and any +- sign) and then the precision. So;

9999999.99

is 10,2

7,2
is 9999.99
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform