title: Turning a group of characters into a float using atof()
body: <p>How can I convert all 4 characters into a float ? I can only convert the first character into an integer. Can you also give me some examples in your explanation. thanks </p>
  
  <p>This is what I have tried so far.</p>
  
  <pre><code>void use_atof()
  {
  
          char c[200];
          float val, v;
  
          strcpy(c ,"23.56,55.697,47.38,87.68");
          val = atof(c);
          printf("%f\n", val);
  }
  </code></pre>