Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Rounding problem with VFP calculator
Message
From
10/11/2005 10:30:11
 
 
To
10/11/2005 10:16:42
Elyse Pomerantz
Dynamic Data Concepts, Inc.
Brooklyn, New York, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01067165
Message ID:
01067171
Views:
18
This is a known bug.

You have to type .0 into the calculator manually. This seems to initialize the calculator for decimals in foxuser.dbf. After that it will work according to your SET DECIMALS.

>Why is the calculator rounding and how can I get it to display the correct value? When I do this:
>
>_calcvalue=1234.56
>ACTIVATE WINDOW calculator
>
>I see 1235 on the calculator.
>
>Thanks,
>Elyse
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform