C#
float vs double

float vs double

Basically both do the same. Both represent decimal numbers. The difference is the size they can accompany. While the float can only handle six or seven decimal digits, double can handle 15 decimal digits.

Therefore double is preferred.