Microsoft KB Archive/41149

= Single Precision Numbers Have 1 to 7 Digits; Double Have 8+ =

Article ID: 41149

Article Last Modified on 11/21/2006

-

APPLIES TO


 * Microsoft QuickBasic 4.0
 * Microsoft QuickBASIC 4.0b
 * Microsoft QuickBasic 4.5 for MS-DOS
 * Microsoft BASIC Compiler 6.0
 * Microsoft BASIC Compiler 6.0b

-



This article was previously published under Q41149



SUMMARY
The documentation below should be changed to say that a constant is single precision if it has fewer than eight digits and is double precision if it has eight or more digits.

This correction applies to the following documentation:
 * 1) Page 24 of &quot;Microsoft QuickBasic: Basic Language Reference&quot; manual for Versions 4.00 and 4.00b for MS-DOS.
 * 2) Page 24 of &quot;Microsoft Basic Compiler: Basic Language Reference&quot; for Versions 6.00 and 6.00b for MS OS/2 and MS-DOS. (Note: This is the same as QuickBasic's language reference manual.)
 * 3) Page 18 of the &quot;Microsoft QuickBasic: Basic Language Reference&quot; manual for QuickBasic Version 4.50. This manual must be ordered separately from the Version 4.50 package.
 * 4) The QuickBasic Version 4.50 QB Advisor on-line help system, when you select &quot;Help - Contents - Data Types - Constants&quot;.



MORE INFORMATION
The above pages INCORRECTLY state that a number is single precision if it has fewer than 15 digits and is double precision if it has more than 15 digits.

This documentation error was corrected in the &quot;Microsoft Basic 7.0: Language Reference&quot; manual of Microsoft Basic PDS Version 7.00 for MS-DOS and MS OS/2.

The above products follow the IEEE standard format for storage of floating-point numbers.

Additional query words: QuickBas BasicCom

Keywords: KB41149

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.