title: Dynamic text format to decimal into a textbox c#
body: <p>I need to dynamically format a value entered by the user on a textbox.</p>
  
  <p>for example : </p>
  
  <pre><code>textbox = "";
  user enter = "1";
  textbox = "0.01";
  user enter = "12";
  textbox = "0.12";
  user enter = "123";
  textbox = "1.23";
  user enter = "123";
  </code></pre>
  
  <p>Any way to do that with <code>C#</code>?</p>