Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Rounding problem with VFP calculator
Message
From
10/11/2005 10:36:33
Elyse Pomerantz
Dynamic Data Concepts, Inc.
Brooklyn, New York, United States
 
 
To
10/11/2005 10:30:11
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01067165
Message ID:
01067176
Views:
23
The problem is that I'm trying to do this programmatically. I have a textbox in my application and when the user double-clicks on the textbox, it brings up the calculator with the value pre-filled. Any ideas?

>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
Elyse Pomerantz
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform