Android Question No Fraction ?

Discussion in 'Android Questions' started by ValDog, Jan 30, 2015.

  1. ValDog

    ValDog Active Member Licensed User

    I need to check that the result of dividing one value by another is an even number - no fractional component. Anyone?
     
  2. NJDude

    NJDude Expert Licensed User

    Check the MOD operator.
     
    thedesolatesoul likes this.
  3. ValDog

    ValDog Active Member Licensed User

    Thanks!
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice