Skip to content

Latest commit

 

History

History
6 lines (5 loc) · 296 Bytes

README.md

File metadata and controls

6 lines (5 loc) · 296 Bytes

Bounded random number division

Allows you to specify 2 numbers:

  1. The number you want divided
  2. The number you want it divided by

The function then divides the number randomly into selected segments, with the condition that the sum of all the segments need to add up to the original number.