Number Types
- Integers: short, int, long
13
- Floating point numbers: float, double
1.3
0.00013
- When a floating-point number is multiplied or divided by 10, only
the position of the decimal point changes; it "floats". This
representation is related to the "scientific" notation 1.3 × 10-4.
1.3E-4 // 1.3 ×
10-4 written in Java
- Numbers are not objects; numbers types are primitive types