title: Divison operator in a miles/kilometer conversion programme
body: <p>I'm writing a simple miles to kilometer programme, where the user enters in miles and the programme shows the conversion result. I've been instructed to use integers, and this is what I have written:</p>
  
  <pre><code>{Console.Write("Enter distance in miles");
  string input1 = Console.ReadLine();
  int number1 = Convert.ToInt32 (input1);
  int result1 = number1 / 0.65;
  Console.Write(number1 + "Miles is equal to " + result1 + "KM");
  Console.ReadLine();
  </code></pre>
  
  <p>However, I keep getting the following error:</p>
  
  <blockquote>
    <p>Cannot implicitly convert type 'double' to 'int'.
    An explicit conversion exists (are you missing a cast?)</p>
  </blockquote>
  
  <p>Can anyone help and let me know why I'm getting this error? I'm a complete beginner :)</p>