How to: Use Constants and Calculation Operators in Formulas
This example demonstrates how to create a simple formula using constants and calculation operators, and add this formula to a cell. Constants are values that are not calculated (e.g., date values, numbers, text strings). Operators specify what calculations should be performed on a formula's elements.
A complete sample project is available at https://github.com/DevExpress-Examples/spreadsheet-document-server-api-e4339
// Use constants and calculation operators in a formula. workbook.Worksheets.Cells["B2"].Formula = "= (1+5)*6";