title: Aspose-Cells: How do I evaluate a formula?
body: <p>Given the following code:</p>
  
  <pre><code>using Aspose.Cells
  // {...}  
  Workbook workbook = new Workbook();  
  Worksheet virtualWorksheet = workbook.Worksheets[0];  
  virtualWorksheet.Cells[0, 0].Formula ="=1&lt;2";
  </code></pre>
  
  <p>How do I evaluate the formula in Cell [0,0]?</p>
  
  <pre><code>bool isCellTrue = virtualWorksheet.Cells[0, 0].BoolValue; // will generate an exception at run-time
  </code></pre>