title: Getting length of float
body: <p>I am trying to get the length of a float, but it is saying the length is 8. I want to know how many digits there are. why is it saying that there are only 8 digits?</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  
  int main()
  {
      double n = 72382.413651;
      int len;
  
      len = sizeof(n);
      printf("%d\n", len);
  }
  </code></pre>
  
  <p>I am needing to know the length of the float because it will be beneficial in making a table table of logarithms like this.</p>
  
  <pre><code>--------------------------
  | 1000000 | 72382.413651 |
  --------------------------
  </code></pre>