BUG: Double Data Type Does Not Display Small Values Correctly (158756)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 3.0
- Microsoft Visual FoxPro for Windows 3.0b
- Microsoft Visual FoxPro for Windows 5.0
- Microsoft Visual FoxPro for Windows 5.0a
- Microsoft Visual FoxPro for Windows 6.0
This article was previously published under Q158756 SYMPTOMS
When the stored value is smaller than 10 to the minus (-)15th power, the
new data type, known as double, is not displayed correctly in a table
field.
Visual FoxPro should display numbers smaller than 10 to the -15th power.
For example, the number 0.00000000000000009 (9 x 10 to the -17th power)
should be displayed as 9.0000000000000E-17. You see this as
.0000000000000000000 in a browse.
In Visual FoxPro versions 3.0 and 3.0b, values smaller than 10 to the -15th
power are displayed as a string of zeros.
In Visual FoxPro 5.0, values between 10 to the -15th power and 10 to the
-30th power are displayed as zeros. Values smaller than 10 to the -30th
power are displayed correctly. For example, 9 x 10 to the -32nd power is
displayed correctly as 9.0000000000000E-32.
Values between 10 to the -13th power and 10 to the -15th power may also
appear incorrectly.
STATUS
Microsoft has confirmed this to be a problem in the Microsoft products
listed at the beginning of this article.
Modification Type: | Major | Last Reviewed: | 5/12/2003 |
---|
Keywords: | kbBug KB158756 |
---|
|