Return the lowest of two values.
Usage
- Format
-
min(firstRoll, secondRoll) - Parameters
-
firstRoll: First formula to be tested.secondRoll: First formula to be tested.
- Returns
- The lowest value obtained.
Description
The values of firstRoll and secondRoll are evaluated. The function returns the lowest value obtained.
Examples
The formula min(1d6, 4) will generate values ranging from 1 to 4, but these value aren't balanced: there are 3 chances out of 6 to obtain a 4.
The formula min(1d10, 1d8) will return the lower value obtained from a roll of 1d10 and a roll of 1d8:
[8>5!] = 5
[9>6!] = 6
[!2<3] = 2
History
Supported since Quick Dice Roller 1.2.0
New output since Quick Dice Roller 2.0.0
Page last modified on October 23, 2014, at 07:13 PM
