title: Store the text value in a radio button in a decimal variable using Visual Studio 2012, c#
body: <p>I currently have 3 radio buttons in 3 groups, and I just needed to pull the text value from the currently checked radio button in the each group and store it in the decimal value. 
  Any ideas?</p>
  
  <p>My current code:</p>
  
  <pre><code>public partial class Form1 : Form
  {
      public Form1()
      {
          InitializeComponent();
      }
  
      private void Form1_Load(object sender, EventArgs e)
      {
  
      }
  
      private void label4_Click(object sender, EventArgs e)
      {
  
      }
  
      private void radioButton1_CheckedChanged(object sender, EventArgs e)
      {
  
      }
  
      private void btnCalculate_Click(object sender, EventArgs e)
      {
          decimal loanAmount; 
          decimal interestRate;
          Int16 numberOfPayments;
          decimal monthlyPayment;
  
          // create the web service object
          ISULoanLeaseCalculatorService myCalcWS = new ISULoanLeaseCalculatorService();
  
          monthlyPayment = (decimal)myCalcWS.LoanMonthlyPayment(
          Convert.ToDouble(loanAmount),
          Convert.ToDouble(interestRate),
          Convert.ToDouble(numberOfPayments));
  
      }
  }
  </code></pre>