title: An error occurred while updating the entries. xx.xxx Out of range
body: <p>I have a table with the column</p>
  
  <p>name: variant_markup<br />
  datatype: numeric(4,3)<br /></p>
  
  <p>I try to put value 10.000 into it</p>
  
  <p>And I get the Error</p>
  
  <p>An error occurred while updating the entries
  <br />10.000 Out of range</p>
  
  <p>It shouldn't be, and I have other columns with same data type and the same process to add a number in, and they don't complain!</p>
  
  <p>The code:</p>
  
  <pre><code>decimal strippedMarkRate = decimal.Round(0, 3);
          if (MarkUpTextBox.Text != string.Empty)
              strippedMarkRate = decimal.Round(decimal.Parse(toolbox.removeChars(MarkUpTextBox.Text)), 3);
  
  variant_markup = strippedMarkRate;
  </code></pre>
  
  <p>toolbox.removeChars function just removes any character that isn't a digit or a decimal point from the box, is there a way to do this with regex by anychance?</p>