DW Faisalabad New Version

DW Faisalabad New Version
Please Jump to New Version
  • Working with Tables
  • While there are four types of database objects in Access, tables are arguably the most ... read more

    Monday, 3 July 2017

    Even and Odd

    Even  |  Odd  |  Even or Odd?

    This example illustrates the EVEN and the ODD function in Excel. It also shows you how to determine if a number is even or odd.

    Even

    1. Rounds a positive number up to the nearest even integer.



    2. Rounds a negative number down to the nearest even integer.



    Odd

    1. Rounds a positive number up to the nearest odd integer.



    2. Rounds a negative number down to the nearest odd integer.



    Even or Odd?

    One way to determine if a number is even or odd is to use the MOD function. The MOD function gives the remainder of a division.

    1. Even numbers divided by 2 always give a remainder of 0. For example, 28 is divided by 2 (exactly 14 times) to give a remainder of 0. As a result, the IF function returns Even.



    2. Odd numbers divided by 2 always give a remainder of 1. For example, 29 is divided by 2 (14 times) to give a remainder of 1. As a result, the IF function returns Odd.

    .