Skip to content

Bin to byte

Type Function: BYTE

Input BIN STRING (12) (Octal string)
Output BYTE (output value)
The function BIN_TO_BYTE converts a binary encoded string in a BYTE value. There, this method only binary characters are '0 'and '1' is interpreted, others in BIN occurring characters are ignored.

bin_to_byte

Example:

BIN_TO_BYTE ('11 ') result 3.