Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Rounding problem with VFP calculator
Message
From
10/11/2005 14:06:22
Elyse Pomerantz
Dynamic Data Concepts, Inc.
Brooklyn, New York, United States
 
 
To
10/11/2005 11:35:34
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01067165
Message ID:
01067327
Views:
14
When I try to open this class I get "Property value is out of bounds." Is it only for VFP9?

>Then don't use the piece of rubbish shipped with vfp....
>
>Look in the downloads section. Lots have been written there. Here was one that has been added within the last four weeks...
>
>http://www.levelextreme.com/wconnect/wc.dll?LevelExtreme~2,2,27677
>
>Mace
>
>>But my application runs with SET RESOURCE OFF...
>>
>>>After typing a series of decimals into the calculator on your machine, and it is working, close fox and copy your foxuser table over to the users machine.
>>>
>>>Mace
>>>
>>>>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