Template:Dice ceil based range only

From Caves of Qud Wiki
Jump to navigation Jump to search


Meant for use as a template parameter for Module:Dice/Format. Returns only the range for a dice roll string (example: 16-19) that has had a stat multiplier applied to it (where the resulting multiplied min and max have in turn been rounded up to the nearest integer). Returns the minimum value alone if there is no range (minimum == maximum).