Signature (Visual Basic / VBA)
Public Function MakeSingleFast( _
ByVal vValue As Single _
) As String
Code Example
MakeSingleFast(0) = Chr$(0) + Chr$(0) + Chr$(0) + Chr$(0)
MakeSingleFast(1) = Chr$(0) + Chr$(0) + Chr$(128) + Chr$(63)
MakeSingleFast(2) = Chr$(0) + Chr$(0) + Chr$(0) + Chr$(64)
MakeSingleFast(2.5) = Chr$(0) + Chr$(0) + Chr$(32) + Chr$(64)
Parameters
| Parameter | Description |
|---|---|
| vValue | The Single (precision floating-point numeric) value whose bytes are to be interpreted as a string. |
Notes & Version History
| Note | This function converts the string representation of the value to Unicode using the default code page of the system. |
| v1.3 Change | Removed 16-bit support from this function. |