title: converting all numbers including cents to word
body: <p>My code only converts the full numbers within (1-9999). I need to convert all numbers and if a number(e.g : 2564866258) contain cents(e.g : 1928.25) to be converted to words. Below is my code. Can anyone help me to solve this problem.</p>
  
  <pre><code>private void amt_txt_KeyUp(object sender, KeyEventArgs e)
          {
              string[] Ones = { "One", "Two", "Three", "Four", "Five", "Six", "Seven", "Eight", "Nine", "Ten", "Eleven", "Twelve", "Thirteen", "Fourteen", "Fifteen", "Sixteen", "Seventeen", "Eighteen", "Ninteen" };
  
              string[] Tens = { "Ten", "Twenty", "Thirty", "Fourty", "Fift", "Sixty", "Seventy", "Eighty", "Ninty" };
  
              int no = int.Parse(amt_txt.Text);
              string strWords = "";
  
              if (no &gt; 999 &amp;&amp; no &lt; 10000)
              {
                  int i = no / 1000;
                  strWords = strWords + Ones[i - 1] + " Thousand ";
                  no = no % 1000;
              }
  
              if (no &gt; 99 &amp;&amp; no &lt; 1000)
              {
                  int i = no / 100;
                  strWords = strWords + Ones[i - 1] + " Hundred ";
                  no = no % 100;
              }
  
              if (no &gt; 19 &amp;&amp; no &lt; 100)
              {
                  int i = no / 10;
                  strWords = strWords + Tens[i - 1] + " ";
                  no = no % 10;
              }
  
              if (no &gt; 0 &amp;&amp; no &lt; 20)
              {
                  strWords = strWords + Ones[no - 1];
              }
  
              cnv_txt.Text = strWords;
  
          }
  </code></pre>