< Dice‎ | AST
Revision as of 18:54, 15 September 2017 by Skizzerz (talk | contribs) (Created page with "{{APIdoc|MathOp Enumeration}} Represents the operation performed on each side of a math expression. {{ns}} == Syntax == <syntaxhighlight lang="C#"> public enum MathOp </synt...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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).