We're dividing 986578 by 59 
Our goal is to divide 986578 by 59.

On to step 1:
The number 59 fits into 9 0 times, leaving a remainder of 9.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 9, we get 9.
Append the next digit (8) from the dividend to 9 and continue with: 98 / 59

Moving on to step 2:
98 divided by 59 is 1 with a remainder of 39.
Write down 1 as next digit of the result. 
Result so far: 1.0
The remainder is 39 after subtracting 59 from 98.
Take the next digit (6) from the dividend and append it to 39, then repeat: 396 / 59

Moving on to step 3:
59 can be fit into 396 6 times, resulting in a remainder of 42.
Write down 6 as next digit of the result. 
Result so far: 16.0
Subtracting 354 from 396 leaves us with 42.
Bring next digit (5) of the dividend behind the 42 and repeat the process: 425 / 59

Let's proceed to step 4:
The number 59 fits into 425 7 times, leaving a remainder of 12.
The next digit of our result is 7. 
Result so far: 167.0
Subtract 413 from 425 to get 12.
Fetch the next digit (7) from the dividend, attach it to 12 and continue: 127 / 59

Going ahead to step 5:
If we divide 127 by 59, we get 2 and a remainder of 9.
Record the quotient 2 as the next digit in the result. 
Result so far: 1672.0
If we take 118 away from 127, we end up with 9.
Append the next digit (8) from the dividend to 9 and continue with: 98 / 59

Going ahead to step 6:
If we divide 98 by 59, we get 1 and a remainder of 39.
Record the quotient 1 as the next digit in the result. 
Result so far: 16721.0
Subtract 59 from 98 to get 39.
Since there are no more digits in the dividend, we add a zero to the remainder making it 390, and continue the process.

Step 7:
The number 59 fits into 390 6 times, leaving a remainder of 36.
Record the quotient 6 as the next digit in the result. 
Result so far: 16721.6
If we take 354 away from 390, we end up with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

On to step 8:
59 goes into 360 6 times with a remainder of 6.
Put 6 as the next digit of the answer. 
Result so far: 16721.66
Subtract 354 from 360 to get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

After the division, we end up with 16721.66 and a remainder of 0.006.