title: vb.net (1.10) in percentage
body: <p>i am creating an small application which allows user to calculate sale price by cost price * 10% (profit for example) and result will store in sale price</p>
  
  <pre><code>dim saleprice as integer
  costprice = textbox1.text
  percent = textbox2.text
  saleprice = costprice * percent
  label1.text = saleprice
  </code></pre>
  
  <p>but the problem is when user input 10 in textbox2.text it will multiply by 100 if user input 1.10 then result will be correct but i want to skip this "1." so user will directly put 10 or  whatever but i dont know how to do that please help and thanks in advance</p>