title: C++ Precision digits for float vs double
body: <p>So I understand the difference for <strong>floats</strong> vs <strong>doubles</strong> in C++.</p>
  
  <blockquote>
    <p>A double is simply a double float point whereas a float a single
    floating point (double the size of precision).</p>
  </blockquote>
  
  <p>My question is, how come floats are represented as '300000011920928955078125e-24' (for the value 3.0) but a double will simply be shows as 3.0?</p>
  
  <p>Why wouldn't a double display all the trailing digits? It has a higher precision but also still suffers from the same finite precision as floating point, so I'm not sure why it doesn't also show up like that.</p>