setBit

setBit

> Functions

Returns the number number with the bit at position position set to the value value (1 by default). The original number is not modified.

Position 0 is the least significant bit. The function also works on big integers.

Example:

Parameters
Return
Note