C++ converting a float to individual digits
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/339150/extracting-individual-digits-from-a-float">Extracting individual digits from a float</a>  </p>
</blockquote>



<p>For part of my program I need to read a number as a float (eg. 123.45) and get each of the individual digits in that float (e.i. 1,2,3,4,5) to do things with them. storing each digit as a character would be ideal so i can do what i want with each number. Is there anyway i can do this, perhaps using cin.get?? please help.</p>
