Skip Headers
Oracle® OLAP Expression Syntax Reference
Release 11.2

Part Number E23381-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Master Index
Master Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
PDF · Mobi · ePub

BIN_TO_NUM

BIN_TO_NUM converts a bit vector to its equivalent number.

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.

Example

BIN_TO_NUM(1,0,1,0) returns the value 10.