ExpressionEngine Execute Method (String, Dictionary String, Double )µStrata MathDaemon™ Computation LibraryMathDaemon Class Library
Performs a calculation of previously compiled formula by its name using passed values.

Namespace: uStrata.MathDaemon.Computation
Assembly: uStrata.MathDaemon.Computation (in uStrata.MathDaemon.Computation.dll) Version: 1.1.5779.28281
Syntax

public double Execute(
	string name,
	Dictionary<string, double> values
)

Parameters

name
Type: System String
Name of expression to evaluate
values
Type: System.Collections.Generic Dictionary String, Double 
Values collection to replace currently stored data

Return Value

Type: Double
calculated result, or double.NaN in case of any failure
See Also