NAME

mksmbf$, mkdmbf$ - convert floating point value to old format

SYNOPSIS

v$ = mksmbf$(SngExp)
v$ = mkdmbf$(DblExp)

DESCRIPTION

Mksmbf$ and mkdmbf$ convert a floating point value into a string representing a value in the old Microsoft Binary Format.  Mksmbf$ converts a single-precision value into a 4-byte string.  Mkdmbf$ converts a double-precision value into an 8-byte string.  To be useful, the resulting strings must be stored directly into a file for transfer to a system or to software which can interpret the strings as floating point numbers in old Microsoft Binary Format. 

To convert from the old format to the modern format, use cvsmbf and cvdmbf

SEE ALSO

cvsmbf, cvdmbf

USAGE NOTE

These functions are not recommended, but are provided for backward compatibility. 

It is assumed that the modern format is the ANSI/IEEE Standard 754-1985.  The ordering of bytes is, nevertheless, implementation dependent. 

If you don’t understand these functions, you probably don’t need them. 

from The Basmark QuickBASIC Programmer’s Manual by Lawrence Leinweber