I2BIN()

Advantage Concepts

Advantage Expression Engine function that converts an integer numeric value to a character string formatted as a binary integer

Syntax

I2BIN( <nInteger> ) à cBinaryInteger

Parameters

<nInteger>

An integer numeric value to be converted. Decimal digits are truncated.

Return Values

I2BIN() returns a two-byte character string containing a 16-bit binary integer.

Remarks

I2BIN() is a low-level file function that converts an integer numeric value to a character string formatted as a binary integer—least significant byte first.

Note Advantage Expression Engine functions can be used in expressions such as record filter expressions and index expressions. They are not necessarily scalars supported within SQL statements. For a list of supported SQL scalar functions, see Supported Scalar Functions.

See Also

CHR()

L2BIN()