title: How to read the entire value of a double using cin?
body: <pre><code>long double m;
  cout &lt;&lt; "enter double: "; cin &gt;&gt; m;
  cout &lt;&lt; "m = " &lt;&lt; m &lt;&lt;endl;
  </code></pre>
  
  <p>Input:</p>
  
  <p>enter double: 1.546640625</p>
  
  <p>Output:</p>
  
  <p>m = 1.54664</p>
  
  <p>I have to convert into a binary with point, and when I read numbers like 2.359375000</p>
  
  <p>Output:</p>
  
  <p>m = 2.35938</p>
  
  <p>And it works, but I think the problem is the zero in 1.546640625</p>