Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Numeric vs Double data types
Message
De
07/10/2004 03:52:41
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00949310
Message ID:
00949442
Vues:
11
>In moving everything from VFP 6 to VFP 8 I am looking at the Double Field Type. I have a large number of fields in many tables set to N(12,2) for holding total dollar amounts in things like invoices, payments etc. and a number of others for holding Quanties such as N(8,3). I see that I can enter the double data type and then enter a decimal number when modifying tables. I assume the decimal number is only what is displayed.
>
>I am looking at changing all my N(xx,x) types to Double and am looking for input as to weither this is a good or bad idea and any hints as to what to look for.
>TIA

Uses Currency and ROUND(,2|3),
but you must control all the multiplications on your code.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform