parity of a number

Calculus is_odd

Calculus in processing ... please wait

Function : is_odd

Summary :

is_odd function returns true if the number passed is odd, false otherwise.

is_odd online

Description :

The arithmetic calculator is able to determine the parity of an integer, ie, to check if a number is even or odd.

An integer is odd if it is not a multiple of 2. If an integer is not odd, then, it is even .

  • Verify that number is odd
  • The arithmetic calculator is able to verify that a number is odd. If the number is odd, the function returns 1, otherwise it returns 0.

    For example, to check that the number 11 is odd or even 0, enter the following formula is_odd(`11`), the calculator returns 1, indicating that 11 is an odd number.

    For example, to check that the number 0 is odd or even 0, enter the following formula is_odd(`0`), the calculator returns 0, indicating that 0 is not an odd number.

  • Vérifier qu'un nombre est pair
  • The arithmetic calculator is able to verify that a number is even. Through function is_odd. If the number is even, the calculator returns 0, indicating that the number is not odd, so it is even.

    For example to check that the number 4 is even, enter the following formula is_odd(`4`), the calculator returns 0, indicating that the number is not odd, ie it is even.

    The calculator has another function to check that a number is even .


    is_odd function returns true if the number passed is odd, false otherwise.


    Syntax :

    is_odd(number), where number is a integer.


    Examples :

    is_odd(`191`), returns 0, indicating that the number is odd.

    Calculate online with is_odd (parity of a number)
    See also :