We look at the division of 6587371 by 474 
We want to divide 6587371 by 474.

On to step 1:
When dividing 6 by 474, we get 0 with 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.
Include the next digit (5) from the dividend after 6, then repeat: 65 / 474

On to step 2:
474 goes into 65 0 times with a remainder of 65.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 65 after subtracting 0 from 65.
Include the next digit (8) from the dividend after 65, then repeat: 658 / 474

Advancing to step 3:
If we divide 658 by 474, we get 1 and a remainder of 184.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Subtracting 474 from 658 leaves us with 184.
Append the next digit (7) from the dividend to 184 and continue with: 1847 / 474

Moving on to step 4:
The number 474 fits into 1847 3 times, leaving a remainder of 425.
Write down 3 as next digit of the result. 
Result so far: 13.0
Subtract 1422 from 1847 to get 425.
Append the next digit (3) from the dividend to 425 and continue with: 4253 / 474

Let's proceed to step 5:
The number 474 fits into 4253 8 times, leaving a remainder of 461.
Put 8 as the next digit of the answer. 
Result so far: 138.0
The remainder is 461 after subtracting 3792 from 4253.
Include the next digit (7) from the dividend after 461, then repeat: 4617 / 474

Going ahead to step 6:
474 goes into 4617 9 times with a remainder of 351.
Record the quotient 9 as the next digit in the result. 
Result so far: 1389.0
Subtracting 4266 from 4617 leaves us with 351.
Fetch the next digit (1) from the dividend, attach it to 351 and continue: 3511 / 474

Moving on to step 7:
474 can be fit into 3511 7 times, resulting in a remainder of 193.
Put 7 as the next digit of the answer. 
Result so far: 13897.0
Subtract 3318 from 3511 to get 193.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1930, and continue the process.

On to step 8:
The number 474 fits into 1930 4 times, leaving a remainder of 34.
The number 4 becomes the next digit in our result. 
Result so far: 13897.4
Deduct 1896 from 1930 and we're left with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Advancing to step 9:
340 divided by 474 is 0 with a remainder of 340.
Put 0 as the next digit of the answer. 
Result so far: 13897.4
The remainder is 340 after subtracting 0 from 340.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3400, and continue the process.

On to step 10:
3400 divided by 474 is 7 with a remainder of 82.
The number 7 becomes the next digit in our result. 
Result so far: 13897.407
If we take 3318 away from 3400, we end up with 82.
Since there are no more digits in the dividend, we add a zero to the remainder making it 820, and continue the process.

Let's proceed to step 11:
When dividing 820 by 474, we get 1 with a remainder of 346.
Write down 1 as next digit of the result. 
Result so far: 13897.4071
If we take 474 away from 820, we end up with 346.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3460, and continue the process.

Let's proceed to step 12:
The number 474 fits into 3460 7 times, leaving a remainder of 142.
Use 7 as the next digit of our solution. 
Result so far: 13897.40717
Subtracting 3318 from 3460 leaves us with 142.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1420, and continue the process.

Moving on to step 13:
The number 474 fits into 1420 2 times, leaving a remainder of 472.
Record the quotient 2 as the next digit in the result. 
Result so far: 13897.407172
If we subtract 948 from 1420, we get 472.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4720, and continue the process.

On to step 14:
474 can be fit into 4720 9 times, resulting in a remainder of 454.
Use 9 as the next digit of our solution. 
Result so far: 13897.4071729
The remainder is 454 after subtracting 4266 from 4720.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4540, and continue the process.

Moving on to step 15:
The number 474 fits into 4540 9 times, leaving a remainder of 274.
Put 9 as the next digit of the answer. 
Result so far: 13897.40717299
Deduct 4266 from 4540 and we're left with 274.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2740, and continue the process.

The final result is 13897.40717299 with a remainder of 2.74e-07.