Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Rounding problem
Message
From
02/05/2002 16:27:49
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Rounding problem
Miscellaneous
Thread ID:
00652110
Message ID:
00652110
Views:
55
I have a little problem, I hope someone can help me:
I have the following lines in a program like these:

if mytable.field1<>0
replace mytable.field2 with mytable.field1
endif

* decimals is set to 2
* Value of mytable.field1=71,315.55
* Value of mytable.field2= 71,315.50 (I must record 71,315.55 instead 71,315.50)

What I'm doing wrong?...

Thanks in advance.

Carlos Burgos
Next
Reply
Map
View

Click here to load this message in the networking platform