title: How can I remove all of numbers after the dot?
body: <p>I'm making a small tip calculator for the Windows Phone 7 and I'm almost done:</p>
  
  <p><img src="https://i.stack.imgur.com/pB5rD.png" alt="alt text"></p>
  
  <p>I'm having trouble getting the trailing decimals places to do what I want though. I want to display the result with only two values after the comma. Any suggestions? Here's my code:</p>
  
  <pre><code>private void btnSubmit_Click(object sender, RoutedEventArgs e)
  {
      if (ValidateInputs())
      {
          lblTotalTip.Text = CalculateTip(txtTotalBill.Text, txtPercentage.Text);                
      }
  }
  
  private string CalculateTip(string Total, string Percentage)
  {
      decimal totalBill = decimal.Parse(Total);
      decimal percentage = decimal.Parse(Percentage);
  
      string result = ((percentage / 100) * totalBill).ToString();
      return result;
  }
  
  private bool ValidateInputs()
  {
      return true;
  }   
  </code></pre>