Converts an eight byte string to a double-precision variable
Syntax
Usage
result = CVD( str )
Parameters
str
A
String exactly eight bytes in length with a binary copy of a double-precision variable stored in it.
Return Value
Description
Does a binary copy from a 8-byte-string to a double-precision variable. The result will have a sense only if the string contained a IEEE754 formated double value, as the one generated by
MKD.
This function is useful to read numeric values from buffers without using a
Type definition.
Example
Dim a As Double, b As String
a=4534.4243
b=MKD(a)
Print a, CVD(b)
Sleep
Differences from QB
See also