title: Why is the result of multiplying several numbers different from the result of multiplying in the calculator?
body: <p>There are some float and integer numbers and I must multiply them.</p>
  <pre><code>float length = 40;
  float width = 25.7f;
  float height = 27.6f;
  int count = 361;
  var result = length * width * height * count;
  </code></pre>
  <p>The output of this code is equal to <strong>10242826</strong></p>
  <p>When I use a calculator, the output is: <strong>10242580.8</strong></p>
  <p>Why is the result of multiplying several numbers different from the result of multiplying in the calculator?</p>
  <p><a href="https://i.stack.imgur.com/CHSpl.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/CHSpl.jpg" alt="enter image description here" /></a></p>