This tool will divide a number into an arbitrary number of parts, using a provided ratio.
Credit to this page for the formula I'm using.
For example, the number 60
divided
using the ratios
A: 1; B: 2; C: 3;
, will yeild the result
A: 10; B: 20
; C: 30
.
Want to know how this works? The code is here.