PRB: VAL() Does Not Return Error When Number Is Out of RangeID: Q135115 The information in this article applies to:
SYMPTOMSAssigning a variable a number that is out of the allowed range for double precision numbers doesn't generate an error.
STATUSMicrosoft is researching this behavior and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATION
Code to Reproduce BehaviorCreate and run this program: CREATE TABLE test (numeric N(10,5), float F(10,5), ; APPEND BLANK
nBig=VAL('1E+700') && largest double precision number has an exp of 308
REPLACE currency WITH nBig && data type mismatch
Additional reference words: 3.00 VFoxWin
KBCategory: kbprg kbprb
KBSubcategory: FxprgGeneral
|
Last Reviewed: August 21, 1995 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |