Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Forcing to a higer precision
Message
From
18/12/2002 17:37:41
 
 
To
18/12/2002 17:32:24
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00734294
Message ID:
00734297
Views:
17
>I'm making a divide operation between two currency variables and an integer:
>
>lnResult = lnCurrency1 / lnInteger / lnCurrency2
>
>No matter how I group this operation, the result gives me acurrency result with a precision of 4 decimals.
>
>Due to the nature of the numbers I'm handling, and the volume of the data being handled, I´m loosing some significant amounts.
>
>How can I get a higer precision number with at least 6 decimal places?

I don't have this behavior here. Can you post your code and how you assign those values?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform