Function Bin2l() Foundation
Converts a 32 bit signed integer (long) to a numeric value.
Bin2l( <cSignedInt> ) --> nSignedInt
The conversion function Bin2l() returns an integer numeric value in the range of -2147483648 to +2147483647.
Bin2l() converts a binary number within a character string to its numeric value. The counterpart of Bin2l() is the function L2bin(), which converts a signed integer to a 4 byte long character string.
The value range of Bin2l() or L2bin() is that for a 32 bit signed integer. Similar conversion functions are Bin2i(), Bin2u() and Bin2w().
Bin2l() and L2bin() are frequently used in connection with the low level file functions. This is sometimes done to allow definition of special or unique file format, or to provide data compression when integer numeric values are being stored.
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.