title: What's wrong with casting 0.0 to double?
body: <p>I have <code>InvalidCastException</code> when I try to cast 0.0 to double, why is that so? It's fine when I do <code>(float)value</code> instead.</p>
  
  <p><img src="https://i.stack.imgur.com/kVjdk.jpg" alt="alt text"></p>