< Dice‎ | AST

MathOp Enumeration

From DiceRoller Documentation

Represents the operation performed on each side of a math expression.

  • Namespace: Dice.AST
  • Assembly: DiceRoller (in DiceRoller.dll)

Syntax

public enum MathOp

Members

Member name Description
Add Adds the two expression values together.
Subtract Subtracts the right expression value from the left expression value.
Multiply Multiplies the two expression values together.
Divide Divides the left expression value by the right expression value.
Negate This unary operation takes the negation of the value (positive to negative, or negative to positive).