Question: what is the difference between a double and a float?
Answer: As the name implies, a double has 2x the precision of float. In general a double has 15 decimal digits of precision, while float has 7.