bin_to_num(1,1,1,0), bin_to_num(1,1,1,1) : BIN_TO_NUM « Numeric Math Functions « Oracle PL / SQL






bin_to_num(1,1,1,0), bin_to_num(1,1,1,1)



SQL>
SQL> select bin_to_num(1,1,1,0) from dual;

BIN_TO_NUM(1,1,1,0)
-------------------
                 14

SQL> select bin_to_num(1,1,1,1) from dual;

BIN_TO_NUM(1,1,1,1)
-------------------
                 15

SQL>
           
       








Related examples in the same category

1.BIN_TO_NUM(x): Converts x to a binary number, Returns a NUMBER
2.bin_to_num(1,0)
3.bin_to_num(1,1)