BitConverter: SingleToInt32Bits |
Converts the specified single-precision floating point number to 32-bit signed integer.
Public Function SingleToInt32Bits( ByVal Value As Single ) As Long
This copies the 32-bit representation of a single-precision floating point number to a 32-bit integer. It does not attempt to convert the value similar to using CLng.