Divide a number with a divisor until the number is smaller than the divisor
Parameters:
Name | Type | Description |
---|---|---|
dividend |
The dividend | |
divisor |
The divisor |
A tuple type of [quotient, depth]. Eg. for num = 40000, and divisor = 1000 -> [40, 1]