BIN_TO_NUM converts a bit vector to its equivalent number.
BIN_TO_NUM
Return Value
NUMBER
Syntax
BIN_TO_NUM(expr [, expr ]... )
Arguments
expr is a numeric expression with a value of 0 or 1 for the value of a bit in the bit vector.
expr
Example
BIN_TO_NUM(1,0,1,0) returns the value 10.
BIN_TO_NUM(1,0,1,0)
10