Spread.NET 18 Formula Reference
Formula Functions / Functions A to C / BITOR
In This Topic
    BITOR
    In This Topic

    This function calculates the bitwise OR of two specified numbers.

    Syntax

    BITOR(value1, value2)

    Arguments

    For the arguments of this function, both values must be in decimal form and greater than or equal to 0.

    Remarks

    In this function, if value of any parameter's bits at same position is 1 only then the value of each bit position is counted.

    Data Types

    Accepts decimal form of data. Returns decimal form of data.

    Examples

    BITOR(22,4) gives the result 22.

    BITOR(6,3) gives the result 7.

    Version Available

    This function is available in Spread for Windows Forms 11.0 or later.