Unformatted text preview: program without data types has no value. You always use integers (int), you only ever use real numbers (float) when you need the precision it gives you. You would never use floating-point for indexing, for example, but you might need it if you're making something like a calculator and need to be able to calculate decimal places....
View Full Document
- Spring '10
- Real Numbers, Rational number