We're dividing 874864 by 37 
We want to divide 874864 by 37.

Going ahead to step 1:
The number 37 fits into 8 0 times, leaving a remainder of 8.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 8 leaves us with 8.
Grab the next digit (7) from the dividend, add it to 8, then carry on: 87 / 37

Step 2:
87 divided by 37 is 2 with a remainder of 13.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
Subtract 74 from 87 to get 13.
Include the next digit (4) from the dividend after 13, then repeat: 134 / 37

Let's proceed to step 3:
134 divided by 37 is 3 with a remainder of 23.
Record the quotient 3 as the next digit in the result. 
Result so far: 23.0
If we take 111 away from 134, we end up with 23.
Bring next digit (8) of the dividend behind the 23 and repeat the process: 238 / 37

Moving on to step 4:
238 divided by 37 is 6 with a remainder of 16.
Record the quotient 6 as the next digit in the result. 
Result so far: 236.0
Deduct 222 from 238 and we're left with 16.
Include the next digit (6) from the dividend after 16, then repeat: 166 / 37

Let's proceed to step 5:
The number 37 fits into 166 4 times, leaving a remainder of 18.
The number 4 becomes the next digit in our result. 
Result so far: 2364.0
Subtracting 148 from 166 leaves us with 18.
Fetch the next digit (4) from the dividend, attach it to 18 and continue: 184 / 37

Step 6:
37 can be fit into 184 4 times, resulting in a remainder of 36.
Put 4 as the next digit of the answer. 
Result so far: 23644.0
The remainder is 36 after subtracting 148 from 184.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

On to step 7:
The number 37 fits into 360 9 times, leaving a remainder of 27.
The number 9 becomes the next digit in our result. 
Result so far: 23644.9
Subtract 333 from 360 to get 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Step 8:
270 divided by 37 is 7 with a remainder of 11.
The next digit of our result is 7. 
Result so far: 23644.97
If we take 259 away from 270, we end up with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Moving on to step 9:
110 divided by 37 is 2 with a remainder of 36.
Record the quotient 2 as the next digit in the result. 
Result so far: 23644.972
Subtract 74 from 110 to get 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Advancing to step 10:
37 goes into 360 9 times with a remainder of 27.
Record the quotient 9 as the next digit in the result. 
Result so far: 23644.9729
Subtract 333 from 360 to get 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

On to step 11:
37 goes into 270 7 times with a remainder of 11.
Write down 7 as next digit of the result. 
Result so far: 23644.97297
Deduct 259 from 270 and we're left with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Step 12:
110 divided by 37 is 2 with a remainder of 36.
Write down 2 as next digit of the result. 
Result so far: 23644.972972
Subtracting 74 from 110 leaves us with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

On to step 13:
37 goes into 360 9 times with a remainder of 27.
The number 9 becomes the next digit in our result. 
Result so far: 23644.9729729
If we subtract 333 from 360, we get 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Let's proceed to step 14:
37 can be fit into 270 7 times, resulting in a remainder of 11.
Use 7 as the next digit of our solution. 
Result so far: 23644.97297297
The remainder is 11 after subtracting 259 from 270.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

The final result is 23644.97297297 with a remainder of 1.1e-08.