title: C# Is there a built-in function to convert a formatted String back to a Number?
body: <p>How do I convert a string that's a formatted number, back to a number?</p>
  
  <pre><code>  Decimal percent = 55.76;
    String strPercent = String.Format("{0:0.0}%", percent);
    Decimal dollars = 33.5;
    String strDollars = String.Format("{0:C}", dollars);
  </code></pre>
  
  <p>Say later, I want to get the percent and dollar value back, as numbers. Is there any built-in way to do this using C# and asp.net? I know how I use regex and a String function, but I read about a Decimal.Parse() function from <a href="http://msdn.microsoft.com/en-us/library/ks098hd7(vs.71).aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/ks098hd7(vs.71).aspx</a>.</p>
  
  <p>Is there a built-in function to do this? If yes, how can I use it?</p>