<-- Previous || Up || Next -->

HIDWORD Function
Windows API Class

Public Function HIDWORD( _
    ByVal vValue As Double _
    ) As Long

"High Double Word"
Return the high-order double-word (4 bytes) of a Double (precision floating-point) value.
Return the Long (Integer) value whose in-memory representation is the same as the left-most, most-significant double-word of Double value vValue.

    HIDWORD(1) = 1072693248
    HIDWORD(2) = 1073741824
See also:
    LODWORD Function
    HIWORD Function
    CoerceTwoLongsToDouble Function
    MakeDouble Function
    CoerceToLong Function
Note: Use the CoerceTwoLongsToDouble function to reconstruct a Double from two Long values.
Note: Similar to but faster than using the MakeDouble and CoerceToLong functions.

Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.