title: Input string not in correct format on 1 system
body: <p>This is a strange one, on most of my systems this code works fine:</p>
  
  <pre><code>var separator = Convert.ToChar(CultureInfo.CurrentCulture.NumberFormat.CurrencyDecimalSeparator);
  DA = Math.Round(double.Parse(M.Groups[1].Value.Replace('.', separator))).ToString();
  </code></pre>
  
  <p>It brings back a digit like for example: 12.6754645644 so we just round up the M.Groups[1].Value to <strong>12</strong> for example, although it works on most systems in 1 it is throwing an error:</p>
  
  <blockquote>
    <p>System.FormatException: Input string was not in a correct format.
       at System.Number.ParseDouble(String value, NumberStyles options, NumberFormatInfo numfmt)</p>
  </blockquote>
  
  <p>The strange thing is, it works on most systems I have tested on, is there something I am missing here?</p>