4.2. Integers and FloatingPoint Numbers
Most
programming languages distinguish
between two kinds of numbers: integers and
floatingpoint numbers. An integer is a whole
number that has no fractional component. Integers can be positive or
negative and include the number 0. Floatingpoint numbers (
floats for short) can include a fractional value
represented after a decimal point, as in 0.56, 199.99, and 3.14159.
So 1, 34523, 3, 0, and 9999999 are integers, but 223.45, 0.56, and
1/4 are floats.
   4. Primitive Datatypes   4.3. Numeric Literals 
Copyright © 2002 O'Reilly & Associates. All rights reserved.

