New to Telerik Document ProcessingStart a free 30-day trial

Expression that divides a numeric value by 100, representing the percent operator (%).

Definition

Constructors

Initializes a new percent expression that will divide the operand by 100.

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

The operand as RadExpression.

workbookWorkbook

The workbook.

Methods

Calculates the result by dividing the operand by 100.

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 percent operator.

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

The operator info as OperatorInfo.

Overrides: OperatorExpression.OperatorInfo