Search
EvaluationContext.EvaluateQuantity Method
See Also
 






Evaluates the specified quanitity in the specified unit.

Namespace: MindFusion.Scripting
Assembly: MindFusion.Scripting

 Syntax

C#  Copy Code

public virtual double EvaluateQuantity (
    double value,
    string unit
)

Visual Basic  Copy Code

Public Overridable Function EvaluateQuantity( _
    value As Double, _
    unit As String _
) As Double

 Parameters

value

The value to evaluate.

unit

The unit of the value.

 Return Value

The evaluated quantity.

 See Also