View Single Post
Old 02-07-2004, 10:18 PM   #9 (permalink)
KnifeMissile
 
KnifeMissile's Avatar
 
Location: Waterloo, Ontario
Yeah, I think Dilbert1234567 is confused about the use of data types. However, I disagree with kel as to why he's confused. I simply think that Dilbert1234567 has no understanding of the roles of the different variable types.

I mean, who would use integers to represent area or volume?

Generally speaking, integers are used for counting or indexing, and floats (or doubles) are used for measurements...
KnifeMissile is offline  
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37