BUG: SQL Debugger Displays Incorrect Value for Float VariablesLast reviewed: May 21, 1997Article ID: Q165419 |
The information in this article applies to:
SYMPTOMSThe value of FLOAT variables inside the SQL Debugger is displayed incorrectly for any value other than zero. For example, a float that you expect to contain the value 1.1 is displayed as the value 4.6508221013814e-104.
RESOLUTIONThis only effects the display of FLOAT values. Modify the values of FLOAT variables with the debugger and the changes will be made correctly. To workaround this, you can assign the value of the FLOAT variable to a CHAR variable and examine the CHAR variable in the debugger. For example:
DECLARE @floatVar FLOAT DECLARE @strVar CHAR (10) SELECT @floatVar = 1.1 SELECT @strVar = CONVERT ( CHAR(10), @floatVar ) STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available. |
Keywords : kbprg vcbuglist500 VCEntIss VCEntSQLDebug kbbuglist
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |