Difference between revisions of "Dice/DieResult/Value"
From DiceRoller Documentation
(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...") |
(No difference)
|
Revision as of 17:16, 12 April 2017
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.