Let's divide 6076870 by 787
We want to divide 6076870 by 787.

Advancing to step 1:
If we divide 6 by 787, we get 0 and a remainder of 6.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 6 leaves us with 6.
Take the next digit (0) from the dividend and append it to 6, then repeat: 60 / 787

On to step 2:
When dividing 60 by 787, we get 0 with a remainder of 60.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 60, we end up with 60.
Append the next digit (7) from the dividend to 60 and continue with: 607 / 787

Advancing to step 3:
787 can be fit into 607 0 times, resulting in a remainder of 607.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 607 after subtracting 0 from 607.
Include the next digit (6) from the dividend after 607, then repeat: 6076 / 787

Advancing to step 4:
787 can be fit into 6076 7 times, resulting in a remainder of 567.
Write down 7 as next digit of the result. 
Result so far: 7.0
Subtract 5509 from 6076 to get 567.
Append the next digit (8) from the dividend to 567 and continue with: 5678 / 787

Step 5:
If we divide 5678 by 787, we get 7 and a remainder of 169.
The number 7 becomes the next digit in our result. 
Result so far: 77.0
Deduct 5509 from 5678 and we're left with 169.
Fetch the next digit (7) from the dividend, attach it to 169 and continue: 1697 / 787

On to step 6:
787 goes into 1697 2 times with a remainder of 123.
The next digit of our result is 2. 
Result so far: 772.0
If we subtract 1574 from 1697, we get 123.
Bring next digit (0) of the dividend behind the 123 and repeat the process: 1230 / 787

Advancing to step 7:
787 goes into 1230 1 times with a remainder of 443.
Write down 1 as next digit of the result. 
Result so far: 7721.0
Deduct 787 from 1230 and we're left with 443.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4430, and continue the process.

Step 8:
787 goes into 4430 5 times with a remainder of 495.
The next digit of our result is 5. 
Result so far: 7721.5
Deduct 3935 from 4430 and we're left with 495.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4950, and continue the process.

Moving on to step 9:
If we divide 4950 by 787, we get 6 and a remainder of 228.
The next digit of our result is 6. 
Result so far: 7721.56
The remainder is 228 after subtracting 4722 from 4950.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2280, and continue the process.

Going ahead to step 10:
787 goes into 2280 2 times with a remainder of 706.
Put 2 as the next digit of the answer. 
Result so far: 7721.562
The remainder is 706 after subtracting 1574 from 2280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7060, and continue the process.

Moving on to step 11:
When dividing 7060 by 787, we get 8 with a remainder of 764.
The number 8 becomes the next digit in our result. 
Result so far: 7721.5628
Subtracting 6296 from 7060 leaves us with 764.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7640, and continue the process.

Advancing to step 12:
7640 divided by 787 is 9 with a remainder of 557.
Use 9 as the next digit of our solution. 
Result so far: 7721.56289
Subtract 7083 from 7640 to get 557.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5570, and continue the process.

Step 13:
When dividing 5570 by 787, we get 7 with a remainder of 61.
Put 7 as the next digit of the answer. 
Result so far: 7721.562897
If we subtract 5509 from 5570, we get 61.
Since there are no more digits in the dividend, we add a zero to the remainder making it 610, and continue the process.

On to step 14:
787 goes into 610 0 times with a remainder of 610.
The next digit of our result is 0. 
Result so far: 7721.562897
If we take 0 away from 610, we end up with 610.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6100, and continue the process.

Moving on to step 15:
If we divide 6100 by 787, we get 7 and a remainder of 591.
Write down 7 as next digit of the result. 
Result so far: 7721.56289707
Subtract 5509 from 6100 to get 591.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5910, and continue the process.

The quotient of the division is 7721.56289707, and the remainder is 5.91e-07.