Skip to content

This example demonstrates to perform a formula calculation with values and variables using CalcQuickBase.

Notifications You must be signed in to change notification settings

SyncfusionExamples/calculation-with-variables-and-values-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Perform formulas calculation with variables and values using CalcQuickBase

About the sample

This example will explain how to store the values with variable name and perform the calculation using expressions and built-in functions.

The below code explain how to store the values with variable name using CalcQuickBase.

CalcQuickBase calcQuick = new CalcQuickBase();

calcQuick["A"] = "5";
calcQuick["B"] = "6";
calcQuick["C"] = "11";

Now compute with any expressions or built-in functions with these variables.

//Computing expressions,
calcQuick["result"] = "=([A]+[B])/[C]";

//Computing In-Built formulas,
calcQuick["result1"] = "=SUM([A],[B])";

The output of expressions and functions calculation,

About

This example demonstrates to perform a formula calculation with values and variables using CalcQuickBase.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages