I have InvalidCastException when I try to cast 0.0 to double, why is that so? It\'s fine when I do (float)value instead.
InvalidCastException
(float)value
You cannot cast an arbitrary object to double.
double