title: Cast a text object to a value
body: <p>In my report, I have a text object named <code>cardsCreditPayOff</code> which I populate by running this code:</p>
  
  <pre><code>CrystalDecisions.CrystalReports.Engine.TextObject textcardsCreditPayOff =
      (CrystalDecisions.CrystalReports.Engine.TextObject)
  DReport.Section4.ReportObjects["cardsCreditPayOff"];
  textcardsCreditPayOff.Text = "25
  </code></pre>
  
  <p>I want to add the value of that text object to one of my formulas. Something like:</p>
  
  <pre><code>{#RTotal10} + {#RTotal11} + "cardsCreditPayOff"
  </code></pre>
  
  <p>How can I do this?</p>