Let's divide 5879735 by 670
We want to figure out the number of times 5879735 can be divided by 670.

Going ahead to step 1:
The number 670 fits into 5 0 times, leaving a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Fetch the next digit (8) from the dividend, attach it to 5 and continue: 58 / 670

Advancing to step 2:
When dividing 58 by 670, we get 0 with a remainder of 58.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 58 after subtracting 0 from 58.
Grab the next digit (7) from the dividend, add it to 58, then carry on: 587 / 670

Advancing to step 3:
587 divided by 670 is 0 with a remainder of 587.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 587 and we're left with 587.
Grab the next digit (9) from the dividend, add it to 587, then carry on: 5879 / 670

Going ahead to step 4:
670 can be fit into 5879 8 times, resulting in a remainder of 519.
Use 8 as the next digit of our solution. 
Result so far: 8.0
If we take 5360 away from 5879, we end up with 519.
Bring next digit (7) of the dividend behind the 519 and repeat the process: 5197 / 670

Step 5:
670 goes into 5197 7 times with a remainder of 507.
The number 7 becomes the next digit in our result. 
Result so far: 87.0
If we subtract 4690 from 5197, we get 507.
Append the next digit (3) from the dividend to 507 and continue with: 5073 / 670

Moving on to step 6:
If we divide 5073 by 670, we get 7 and a remainder of 383.
The number 7 becomes the next digit in our result. 
Result so far: 877.0
The remainder is 383 after subtracting 4690 from 5073.
Bring next digit (5) of the dividend behind the 383 and repeat the process: 3835 / 670

Advancing to step 7:
The number 670 fits into 3835 5 times, leaving a remainder of 485.
Record the quotient 5 as the next digit in the result. 
Result so far: 8775.0
If we subtract 3350 from 3835, we get 485.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4850, and continue the process.

Advancing to step 8:
670 can be fit into 4850 7 times, resulting in a remainder of 160.
Put 7 as the next digit of the answer. 
Result so far: 8775.7
Subtract 4690 from 4850 to get 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1600, and continue the process.

Going ahead to step 9:
1600 divided by 670 is 2 with a remainder of 260.
Record the quotient 2 as the next digit in the result. 
Result so far: 8775.72
If we take 1340 away from 1600, we end up with 260.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2600, and continue the process.

Step 10:
When dividing 2600 by 670, we get 3 with a remainder of 590.
Use 3 as the next digit of our solution. 
Result so far: 8775.723
Subtracting 2010 from 2600 leaves us with 590.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5900, and continue the process.

Moving on to step 11:
5900 divided by 670 is 8 with a remainder of 540.
Record the quotient 8 as the next digit in the result. 
Result so far: 8775.7238
Deduct 5360 from 5900 and we're left with 540.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5400, and continue the process.

Moving on to step 12:
5400 divided by 670 is 8 with a remainder of 40.
The next digit of our result is 8. 
Result so far: 8775.72388
Subtracting 5360 from 5400 leaves us with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

The quotient of the division is 8775.72388, and the remainder is 4e-05.