title: Converting numbers to formatted strings and parse the formatted string again
body: <p>In visual c++ I need to format the numbers according to the current thread locale using the number format of the windows, like using digit grouping separators and decimal point of windows, also parsing it again like C#.NET.</p>
  
  <pre><code>convert double b = 108457000.89 to "108,457,000.89"
  also convert "108,457,000.89" to double b = 108457000.89
  </code></pre>
  
  <p>this article was so useful in converting the number to a formatted string <a href="http://www.codeproject.com/Articles/14952/A-simple-class-for-converting-numbers-into-a-strin" rel="nofollow">http://www.codeproject.com/Articles/14952/A-simple-class-for-converting-numbers-into-a-strin</a></p>
  
  <p>but how to reverse the operation that wasn't clear i want to know how to do it??</p>