title: Read double using fscanf
body: <p>I want to read double from text file
  e.g.
  31  39.9316476397222    116.113516352222</p>
  
  <p>I tried both, not work. I can only read the first few decimal digital e.g. 39.93164 but not 39.9316476397222
  anyone knows why? Thanks!</p>
  
  <pre><code>int NodeID;
  double _lat,_long;
  fscanf (pFile, "%d %lf %lf", &amp;NodeID,&amp;_lat,&amp;_long);
  printf ("I have read: %d %f %f\n", NodeID,_lat,_long);
  
  fscanf (pFile, "%d %lf %lf", &amp;NodeID,&amp;_lat,&amp;_long);
  printf ("I have read: %d %lf %lf\n", NodeID,_lat,_long);
  </code></pre>