• @[email protected]
    link
    fedilink
    610 months ago

    Easy workaround, just test the last digit. If it is even, the entire number is even, else odd.

    • @[email protected]
      link
      fedilink
      1210 months ago

      That’s preposterous! Next time you’ll tell me the language I’m using has a builtin operator that test if a number can be divided by another!