Table of Contents

Class Mod

Namespace
Albatross.Expression.Infix
Assembly
Albatross.Expression.dll

Infix operation that perform an mod operation

Operand Count: 2

Operands

  1. Operrand1 : double
  2. Operrand2 : double

Output Type: double

public class Mod : InfixExpression, IInfixExpression, IExpression, IToken, IHasPrecedence
Inheritance
Mod
Implements
Inherited Members
Extension Methods

Constructors

Mod()

public Mod()

Methods

Run(object, object)

Executes the infix operation with the evaluated left and right operands. Derived classes should override this method to implement specific operations.

protected override object Run(object left, object right)

Parameters

left object

The evaluated left operand value.

right object

The evaluated right operand value.

Returns

object

The result of the operation.