ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  C is for Cocoa
Subject:   Integers and Whole numbers
Date:   2003-12-28 12:15:29
From:   anonymous2
This is a great tutorial, but I'd like to point something out. Integers are not "the numbers you can count on your fingers". Those are called the "natural numbers". An integer is, in face a number with no fractional or decimal part, but it may also be negative. Whole numbers, then are integers starting at and including 0. What makes natural numbers different is that they don't include 0. I suppose you could count that on your fingers, though the result would be a fist.