title: Implicit type conversions in expressions int to double
body: <p>I've been trying to reduce implicit type conversions when I use named constants in my code. For example rather than using</p>
  
  <pre><code>const double foo = 5;
  </code></pre>
  
  <p>I would use</p>
  
  <pre><code>const double foo = 5.0;
  </code></pre>
  
  <p>so that a type conversion doesn't need to take place. However, in expressions where I do something like this...</p>
  
  <pre><code>const double halfFoo = foo / 2;
  </code></pre>
  
  <p>etc. Is that 2 evaluated as an integer and is it implicitly converted? Should I use a 2.0 instead?</p>