Number of "successes" on a dice roll

As long as your Report Format lists each individual die, you can use Java String functions (such as .split()) to extract the individual dice from 2d_result.

For example, if your Report Format is $result1$,$result2$, you can use the formula {2d_result.split(',')[0]} to return the first die result; increment the 0 for each later die.

1 Like