L2BIN()

From Lianjapedia
Revision as of 07:09, 10 December 2012 by Admin (Talk | contribs)

Jump to: navigation, search

Purpose

Function to convert numeric to binary encoded string

Syntax

L2BIN(<expN>)

See Also

BIN2I(), BIN2L(), BIN2W(), BINCLOSE(), BINCREATE(), BINOPEN(), BINREAD(), BINSEEK(), BINWRITE(), I2BIN()

Description

The L2BIN() function converts a numeric value into a binary encoded character string formatted as a signed 32-bit integer. The <expN> is any numeric value. Any decimal places are ignored. With the exception of the BIN2W() function, all binary conversion functions may be used in conjunction with the binary file functions.

Example

? bin2l(l2bin(98765))
     98765