Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Numeric vs Double data types
Message
From
07/10/2004 03:52:41
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00949310
Message ID:
00949442
Views:
10
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform