Function F2Bin() Foundation

Converts a numeric value to a 64 bit IEEE floating point number.

Syntax
F2bin( <nNumeric> ) --> cBinary
Parameters
<nNumeric>
<nNumeric> is a numeric expression whose value is converted to binary format.
Return

The return value of F2bin() is an eight byte character string which contains the numeric value as a 64 bit IEEE floating point number.

Description

F2bin() converts numeric values in the range of a 64 bit IEEE floating point number to their binary representation. The function returns a character string with eight characters. The counterpart of F2bin() is Bin2f().

F2bin() can be used in connection with DllCall() and low level API functions which require a 64 bit floating point number as a parameter.

Examples
F2bin()
// F2bin() is used just like L2bin(). The difference 
// lies only in the value range. 

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.