UtilNCalcEvaluateExpression Method

Evaluate and return the result of an arithmetic expression.

Definition

Namespace: DevCase.ThirdParty.NCalc
Assembly: DevCase.net48.ThirdParty.NCalc (in DevCase.net48.ThirdParty.NCalc.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static decimal EvaluateExpression(
	string expr
)

Parameters

expr  String

[Missing <param name="expr"/> documentation for "M:DevCase.ThirdParty.NCalc.UtilNCalc.EvaluateExpression(System.String)"]

Return Value

Decimal
The resulting value.

Remarks

Note: Some functionalities of this assembly may require to install one or all of the listed NuGet packages:

NCalc

Example

This is a code example.
C#
No code example is currently available or this language may not be supported.

Exceptions

EvaluationException

See Also