< Dice‎ | DieResult
Revision as of 17:16, 12 April 2017 by Skizzerz (talk | contribs) (Created page with "{{APIdoc|DieResult.Value Field}} If the DieResult represents a die roll, this is the number of sides that die had. {{ns}} == Syntax == <syntaxhighlight lang="C#"> public dec...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

DieResult.Value Field

From DiceRoller Documentation

If the DieResult represents a die roll, this is the number of sides that die had.

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

Syntax

public decimal Value

Field Value

Type: System.Decimal

What the result of the roll was.

Remarks

If DieType is DieType.Special, this can be safely cast into SpecialDie.