title: How do I make my percentages have 2 decimal points?
body: <p>I have looked at other posts about this but i just can't get my head around it and wanted to ask specifically for my scenario. I have written a Visual Basic console application and I am trying to get my percentages to have two decimal places on them as they're just rounding up to the nearest whole number. Here is the code : </p>
  
  <pre><code>Console.Write("Enter the percentage you want to work out: ")
  Dim Percentage As Integer
  Percentage = Console.ReadLine()
  
  Console.Write("What would you like to work out " &amp; Percentage &amp; "% of? ")
  Dim Number As Integer
  Number = Console.ReadLine()
  
  Dim PercentageNumberResult As Integer
  PercentageNumberResult = Number / 100 * Percentage
  
  Console.Write(Number &amp; " ÷ 100 × " &amp; Percentage &amp; " = " &amp; PercentageNumberResult)
  Console.ReadLine()
  </code></pre>
  
  <p>Any help would be appreciated, thanks!</p>