Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Rounding problem when appending records
Message
From
26/03/2001 16:48:02
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Title:
Rounding problem when appending records
Miscellaneous
Thread ID:
00488710
Message ID:
00488710
Views:
43
I have a query that will have a result of one column that has 5 decimal places.
When I append that record to a dbf table which has 2 decimal places, it will automatically round it in 2 decimal places.
e.g.
query result is 0.78999
when i append this to my table the result will be 0.79
i dont want that to happen, what i want is 0.78

i know you can convert this to string and do the manipulation there. is there any way to go around with it.

thanks.
Next
Reply
Map
View

Click here to load this message in the networking platform