ACC97: Single w/ Currency Format Displays as Double When EditedID: Q182762
|
Moderate: Requires basic macro, coding, and interoperability skills.
While you are editing data in a field whose data type is Single and whose
Format property is set to Currency, the data is displayed as a number of
data type Double. As a result, you may see unexpected values in the digits
to the right of the decimal point. When you have finished editing, and you
move the focus away from the field, the data appears in Currency format as
expected. This behavior can occur while you are editing data in a table, a
form, or a query.
Use the following format instead of the built-in Currency format to ensure
that numbers of data type Single are not displayed as numbers of data type
Double during editing:
$#,##0.00;($#,##0.00);$0.00
tblSingle
----------------------
Field Name: TestSingle
Data Type: Number
Field Size: Single
TestSingle
----------
.15
1.23
.02
$#,##0.00;($#,##0.00);$0.00
Microsoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
The decimal precision of the data type Single is 7; the decimal precision of the data type Double is 15.
For more information about the Format property, search the Help Index for
"Format property."
For more information about the precision of number data types, search the
Help Index for "FieldSize property."
Additional query words: changes different
Keywords :
Version : WINDOWS:97
Platform :
Issue type :
Last Reviewed: April 29, 1999