New to Telerik Document ProcessingStart a free 30-day trial

Expression that preserves the sign of a numeric value, representing the unary plus operator (+).

Definition

Constructors

Initializes a new unary plus expression that will preserve the operand's sign.

C#
public UnaryPlusExpression(RadExpression operand, Workbook workbook = null)
Parameters:operandRadExpression

The operand.

workbookWorkbook

The workbook.

Methods

Returns the operand unchanged, effectively preserving its sign.

C#
protected override RadExpression GetValueOverride(double operand)
Parameters:operanddouble

The operand as double.

Returns:

RadExpression

Value as RadExpression.

Overrides: UnaryOperatorExpression.GetValueOverride(double)

Properties

Gets the operator metadata for the unary plus operator.

C#
public override OperatorInfo OperatorInfo { get; }
Property Value:

The operator info as OperatorInfo.

Overrides: OperatorExpression.OperatorInfo