< Dice‎ | DieResult
Revision as of 05:55, 15 April 2017 by Skizzerz (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

DieResult.Value Property

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 { get; set; }

Property Value

Type: System.Decimal

What the result of the roll was.

Remarks

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