Article ID: 45166 - Last Review: November 21, 2006 - Revision: 1.2 Floating Point Formats Used by Microsoft BASIC ProductsThis article was previously published under Q45166 On This PageSUMMARY
The floating point formats used by Microsoft BASIC products depend on
which BASIC product and version number are being used, as shown below.
MORE INFORMATION
The following products support decimal math, which is very accurate
(such as for dollars and cents calculations), but slow:
Microsoft BASIC Professional Development System (PDS) versions 7.00 and 7.10 for MS-DOS and MS OS/2 (See the table below for a quick reference to floating-point support by BASIC products.) For more information concerning IEEE format versus Microsoft Binary Format, please see Pages 131-134 in the "Microsoft Macro Assembler 5.1: Programmer's Guide," or see the "IEEE and Rounding" application note, which can be obtained by calling Microsoft Technical Support. More information is also available in this database by querying on the following keywords:
floating point and format Table: Floating Point Support, by BASIC Product and Version
Product and Version | Decimal | Microsoft | IEEE | CURRENCY
| Math | Binary | | Data
----------------------------|-----------|------------|-------|----------
MS BASIC PDS, MS-DOS and | | | |
MS OS /2: 7.00, 7.10 | | | X | X
| | | |
MS BASIC Compiler, MS-DOS: | | | |
6.00, 6.00b | | | X |
5.35, 5.36 | | X | |
| | | |
MS BASIC Interpreter MS-DOS:| | | |
5.28 | | X | |
| | | |
MS QuickBASIC for IBM PC: | | | |
1.00, 1.01, 1.02 | | X | |
2.00, 2.01 | | X | |
3.00 (QB.EXE) | | X | |
3.00 (QB87.EXE) | | | X |
4.00, 4.00b, 4.50 | | | X |
| | | |
MS GW-BASIC for MS-DOS: | | | |
2.00, 2.10 (OEM only), | | X | |
3.20, 3.22, 3.23 | | X | |
| | | |
MS BASIC Interpreter CP/M-80| | | |
5.21 | | X | |
| | | |
MS BASIC Compiler, CP/M-80: | | | |
5.30, 5.35 | | X | |
| | | |
The IBM BASIC Compiler | | | |
for MS-DOS: | | | |
2.00 (and earlier) | | X | |
| | | |
IBM BASICA Interpreter | | | |
for MS-DOS: | | | |
All versions | | X | |
| | | |
Microsoft BASIC Interpreter | | | |
for Macintosh: | | | |
1.00, 1.01, | | | X |
2.00, 2.10, | X | | X |
3.00 | X | | X |
| | | |
Microsoft BASIC Compiler | | | |
for Macintosh: | | | |
1.00 | X | | X |
| | | |
Microsoft QuickBASIC for | | | |
Macintosh: | | | |
1.00 | X | | X |
| | | |
Microsoft Business BASIC | | | |
MS-DOS: | | | |
1.00, 1.10 | X | | |
| Article Translations
|


Back to the top
