or()

Read(2328) Label: integer, bitwise or,

Description:

Perform bitwise OR operation on integers.

Syntax:

or(xi,…)

or(A)

Note:

Bitwise OR operation on integers. The function supports a decimal without the fractional part.

Parameter:

A

A sequence

xi

A numeric expression based on which you perform the bitwise OR operation

Return value:

Integer

Example:

or(3,5)

7.

or([11,13,15])

15.

or(decimal(6),11)

15, which is the decimal type.

or(decimal(6),decimal(11))

15, which is the decimal type.