title: Find integer in string using C# and divide it
body: <p>I am trying to find the integers in a .txt that I am reading in C# and divide them, but everything I have tried have not worked. Any tips?
  this txt has values like this:</p>
  
  <ul>
  <li>this is the string in the .txt file</li>
  <li>queue1 6000  </li>
  <li>queue2 54888</li>
  <li>queue3 1</li>
  </ul>
  
  <p>but they change every second</p>
  
  <ul>
  <li>expected output</li>
  <li>queue1 0.6</li>
  <li>queue2 5.4</li>
  <li>queue3 0.0001</li>
  </ul>
  
  <p>code</p>
  
  <pre><code>int value;
  string text = System.IO.File.ReadAllText(@"N:\doc\mytext.txt");
  if (int.TryParse(text, out value))
          {
             value/10000;
          }
  Console.ForegroundColor = ConsoleColor.Red;
          System.Console.WriteLine(text);
  </code></pre>
  
  <p>thanks</p>