We're dividing 2617042 by 987 
We want to figure out the number of times 2617042 can be divided by 987.

Going ahead to step 1:
If we divide 2 by 987, we get 0 and a remainder of 2.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 2 to get 2.
Fetch the next digit (6) from the dividend, attach it to 2 and continue: 26 / 987

Moving on to step 2:
If we divide 26 by 987, we get 0 and a remainder of 26.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 26 to get 26.
Grab the next digit (1) from the dividend, add it to 26, then carry on: 261 / 987

Going ahead to step 3:
When dividing 261 by 987, we get 0 with a remainder of 261.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 261, we get 261.
Take the next digit (7) from the dividend and append it to 261, then repeat: 2617 / 987

Going ahead to step 4:
If we divide 2617 by 987, we get 2 and a remainder of 643.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
If we subtract 1974 from 2617, we get 643.
Bring next digit (0) of the dividend behind the 643 and repeat the process: 6430 / 987

Step 5:
987 can be fit into 6430 6 times, resulting in a remainder of 508.
The next digit of our result is 6. 
Result so far: 26.0
If we take 5922 away from 6430, we end up with 508.
Take the next digit (4) from the dividend and append it to 508, then repeat: 5084 / 987

Going ahead to step 6:
If we divide 5084 by 987, we get 5 and a remainder of 149.
Record the quotient 5 as the next digit in the result. 
Result so far: 265.0
If we subtract 4935 from 5084, we get 149.
Bring next digit (2) of the dividend behind the 149 and repeat the process: 1492 / 987

Advancing to step 7:
When dividing 1492 by 987, we get 1 with a remainder of 505.
Use 1 as the next digit of our solution. 
Result so far: 2651.0
The remainder is 505 after subtracting 987 from 1492.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5050, and continue the process.

On to step 8:
987 can be fit into 5050 5 times, resulting in a remainder of 115.
Use 5 as the next digit of our solution. 
Result so far: 2651.5
Subtracting 4935 from 5050 leaves us with 115.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1150, and continue the process.

Advancing to step 9:
If we divide 1150 by 987, we get 1 and a remainder of 163.
Record the quotient 1 as the next digit in the result. 
Result so far: 2651.51
The remainder is 163 after subtracting 987 from 1150.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1630, and continue the process.

Going ahead to step 10:
987 goes into 1630 1 times with a remainder of 643.
Write down 1 as next digit of the result. 
Result so far: 2651.511
Subtracting 987 from 1630 leaves us with 643.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6430, and continue the process.

The final outcome is 2651.511, with a leftover of 0.0643.