We look at the division of 21395677 by 587 
We want to divide 21395677 by 587.

Advancing to step 1:
587 goes into 2 0 times with a remainder of 2.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 2, we end up with 2.
Bring next digit (1) of the dividend behind the 2 and repeat the process: 21 / 587

On to step 2:
If we divide 21 by 587, we get 0 and a remainder of 21.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 21, we end up with 21.
Fetch the next digit (3) from the dividend, attach it to 21 and continue: 213 / 587

On to step 3:
587 can be fit into 213 0 times, resulting in a remainder of 213.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 213 leaves us with 213.
Append the next digit (9) from the dividend to 213 and continue with: 2139 / 587

Moving on to step 4:
When dividing 2139 by 587, we get 3 with a remainder of 378.
Put 3 as the next digit of the answer. 
Result so far: 3.0
The remainder is 378 after subtracting 1761 from 2139.
Take the next digit (5) from the dividend and append it to 378, then repeat: 3785 / 587

Let's proceed to step 5:
The number 587 fits into 3785 6 times, leaving a remainder of 263.
Put 6 as the next digit of the answer. 
Result so far: 36.0
If we subtract 3522 from 3785, we get 263.
Bring next digit (6) of the dividend behind the 263 and repeat the process: 2636 / 587

Advancing to step 6:
2636 divided by 587 is 4 with a remainder of 288.
The number 4 becomes the next digit in our result. 
Result so far: 364.0
If we take 2348 away from 2636, we end up with 288.
Append the next digit (7) from the dividend to 288 and continue with: 2887 / 587

Let's proceed to step 7:
The number 587 fits into 2887 4 times, leaving a remainder of 539.
The number 4 becomes the next digit in our result. 
Result so far: 3644.0
Subtracting 2348 from 2887 leaves us with 539.
Include the next digit (7) from the dividend after 539, then repeat: 5397 / 587

Moving on to step 8:
5397 divided by 587 is 9 with a remainder of 114.
The next digit of our result is 9. 
Result so far: 36449.0
Subtracting 5283 from 5397 leaves us with 114.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1140, and continue the process.

Step 9:
When dividing 1140 by 587, we get 1 with a remainder of 553.
Record the quotient 1 as the next digit in the result. 
Result so far: 36449.1
Deduct 587 from 1140 and we're left with 553.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5530, and continue the process.

Going ahead to step 10:
The number 587 fits into 5530 9 times, leaving a remainder of 247.
Use 9 as the next digit of our solution. 
Result so far: 36449.19
Deduct 5283 from 5530 and we're left with 247.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2470, and continue the process.

Moving on to step 11:
When dividing 2470 by 587, we get 4 with a remainder of 122.
Use 4 as the next digit of our solution. 
Result so far: 36449.194
If we subtract 2348 from 2470, we get 122.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1220, and continue the process.

On to step 12:
When dividing 1220 by 587, we get 2 with a remainder of 46.
The next digit of our result is 2. 
Result so far: 36449.1942
If we take 1174 away from 1220, we end up with 46.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

Advancing to step 13:
When dividing 460 by 587, we get 0 with a remainder of 460.
Put 0 as the next digit of the answer. 
Result so far: 36449.1942
Subtract 0 from 460 to get 460.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4600, and continue the process.

Step 14:
4600 divided by 587 is 7 with a remainder of 491.
The next digit of our result is 7. 
Result so far: 36449.194207
If we take 4109 away from 4600, we end up with 491.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4910, and continue the process.

Let's proceed to step 15:
587 can be fit into 4910 8 times, resulting in a remainder of 214.
Record the quotient 8 as the next digit in the result. 
Result so far: 36449.1942078
If we take 4696 away from 4910, we end up with 214.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2140, and continue the process.

On to step 16:
587 goes into 2140 3 times with a remainder of 379.
Record the quotient 3 as the next digit in the result. 
Result so far: 36449.19420783
Subtract 1761 from 2140 to get 379.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3790, and continue the process.

After the division, we end up with 36449.19420783 and a remainder of 3.79e-07.