HeroStats Libraries
StatsEngine.Evaluate Method 

[This is preliminary documentation and subject to change.]

Evaluates an infix expression that returns a double

[Visual Basic]
Public Function Evaluate( _
   ByVal expression As String, _
   ByVal time As Date _
) As Double
[C#]
public double Evaluate(
   string expression,
   DateTime time
);

Parameters

expression
The expression to evaluate
time
The point in time to use for an $avg function

Return Value

The result of the evaluation

Remarks

The expression can contain any arithmatic expression in addition to two special functions:

These functions can be included in the arithmatic expression to evaluate

See Also

StatsEngine Class | HeroStats.StatsEngine Namespace