5989784 divided by 336 
We want to figure out the number of times 5989784 can be divided by 336.

Moving on to step 1:
The number 336 fits into 5 0 times, leaving a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Fetch the next digit (9) from the dividend, attach it to 5 and continue: 59 / 336

Let's proceed to step 2:
336 goes into 59 0 times with a remainder of 59.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 59, we get 59.
Bring next digit (8) of the dividend behind the 59 and repeat the process: 598 / 336

Let's proceed to step 3:
598 divided by 336 is 1 with a remainder of 262.
Put 1 as the next digit of the answer. 
Result so far: 1.0
If we subtract 336 from 598, we get 262.
Bring next digit (9) of the dividend behind the 262 and repeat the process: 2629 / 336

Let's proceed to step 4:
336 can be fit into 2629 7 times, resulting in a remainder of 277.
The next digit of our result is 7. 
Result so far: 17.0
If we take 2352 away from 2629, we end up with 277.
Append the next digit (7) from the dividend to 277 and continue with: 2777 / 336

On to step 5:
336 can be fit into 2777 8 times, resulting in a remainder of 89.
Use 8 as the next digit of our solution. 
Result so far: 178.0
Subtracting 2688 from 2777 leaves us with 89.
Take the next digit (8) from the dividend and append it to 89, then repeat: 898 / 336

Moving on to step 6:
If we divide 898 by 336, we get 2 and a remainder of 226.
Write down 2 as next digit of the result. 
Result so far: 1782.0
Subtract 672 from 898 to get 226.
Grab the next digit (4) from the dividend, add it to 226, then carry on: 2264 / 336

On to step 7:
When dividing 2264 by 336, we get 6 with a remainder of 248.
Write down 6 as next digit of the result. 
Result so far: 17826.0
The remainder is 248 after subtracting 2016 from 2264.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2480, and continue the process.

Step 8:
If we divide 2480 by 336, we get 7 and a remainder of 128.
Use 7 as the next digit of our solution. 
Result so far: 17826.7
If we take 2352 away from 2480, we end up with 128.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1280, and continue the process.

Step 9:
336 can be fit into 1280 3 times, resulting in a remainder of 272.
Put 3 as the next digit of the answer. 
Result so far: 17826.73
If we subtract 1008 from 1280, we get 272.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2720, and continue the process.

Moving on to step 10:
The number 336 fits into 2720 8 times, leaving a remainder of 32.
The next digit of our result is 8. 
Result so far: 17826.738
If we subtract 2688 from 2720, we get 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Going ahead to step 11:
320 divided by 336 is 0 with a remainder of 320.
The next digit of our result is 0. 
Result so far: 17826.738
Subtract 0 from 320 to get 320.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3200, and continue the process.

Advancing to step 12:
The number 336 fits into 3200 9 times, leaving a remainder of 176.
Record the quotient 9 as the next digit in the result. 
Result so far: 17826.73809
Subtracting 3024 from 3200 leaves us with 176.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1760, and continue the process.

On to step 13:
336 goes into 1760 5 times with a remainder of 80.
Use 5 as the next digit of our solution. 
Result so far: 17826.738095
Deduct 1680 from 1760 and we're left with 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 800, and continue the process.

Going ahead to step 14:
When dividing 800 by 336, we get 2 with a remainder of 128.
The next digit of our result is 2. 
Result so far: 17826.7380952
Subtract 672 from 800 to get 128.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1280, and continue the process.

On to step 15:
336 can be fit into 1280 3 times, resulting in a remainder of 272.
The next digit of our result is 3. 
Result so far: 17826.73809523
Subtracting 1008 from 1280 leaves us with 272.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2720, and continue the process.

The final result is 17826.73809523 with a remainder of 2.72e-07.