Evaluate an expression which is expected to return a Decimal value.

Syntax

ISEval.EvaluateDecimal(expression, returnValue, [errorOnInvalidReturnType], [defaultValue])

Parameters

NameTypeOptionalByRefDescription
expression String The Expression to evaluate.
returnValue Decimal ByRef The Return Value of a successfully evaluated expression.
errorOnInvalidReturnType Boolean Optional Indicates whether an error should occur if the Type of the value returned from evaluating the expression is not Double. If omitted, a value of True is assumed.
defaultValue Decimal Optional The Value that will be returned in ReturnValue if errorOnInvalidReturnType is False and the value returned from evaluating the expression is not Decimal. If omitted, a value of 0 is assumed.

Return Value

Boolean

A Boolean value indicating success.

Member of:
ISEval
Namespace:
Intersoft.ISRuntime6
Assembly:
ISRuntime6, Version=6.0.3
Target Framework:
.NET 9.0