Let's divide 866642 by 37
We want to divide 866642 by 37.

Step 1:
The number 37 fits into 8 0 times, leaving a remainder of 8.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 8 leaves us with 8.
Grab the next digit (6) from the dividend, add it to 8, then carry on: 86 / 37

Let's proceed to step 2:
When dividing 86 by 37, we get 2 with a remainder of 12.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
If we take 74 away from 86, we end up with 12.
Grab the next digit (6) from the dividend, add it to 12, then carry on: 126 / 37

Moving on to step 3:
The number 37 fits into 126 3 times, leaving a remainder of 15.
The number 3 becomes the next digit in our result. 
Result so far: 23.0
If we subtract 111 from 126, we get 15.
Include the next digit (6) from the dividend after 15, then repeat: 156 / 37

On to step 4:
156 divided by 37 is 4 with a remainder of 8.
Put 4 as the next digit of the answer. 
Result so far: 234.0
Subtracting 148 from 156 leaves us with 8.
Fetch the next digit (4) from the dividend, attach it to 8 and continue: 84 / 37

Step 5:
37 goes into 84 2 times with a remainder of 10.
The number 2 becomes the next digit in our result. 
Result so far: 2342.0
Deduct 74 from 84 and we're left with 10.
Take the next digit (2) from the dividend and append it to 10, then repeat: 102 / 37

Going ahead to step 6:
If we divide 102 by 37, we get 2 and a remainder of 28.
The next digit of our result is 2. 
Result so far: 23422.0
Deduct 74 from 102 and we're left with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Moving on to step 7:
37 goes into 280 7 times with a remainder of 21.
The number 7 becomes the next digit in our result. 
Result so far: 23422.7
If we take 259 away from 280, we end up with 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

On to step 8:
When dividing 210 by 37, we get 5 with a remainder of 25.
Use 5 as the next digit of our solution. 
Result so far: 23422.75
Subtract 185 from 210 to get 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Step 9:
When dividing 250 by 37, we get 6 with a remainder of 28.
Put 6 as the next digit of the answer. 
Result so far: 23422.756
If we take 222 away from 250, we end up with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Step 10:
280 divided by 37 is 7 with a remainder of 21.
Put 7 as the next digit of the answer. 
Result so far: 23422.7567
If we subtract 259 from 280, we get 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Moving on to step 11:
210 divided by 37 is 5 with a remainder of 25.
The number 5 becomes the next digit in our result. 
Result so far: 23422.75675
Subtract 185 from 210 to get 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Step 12:
250 divided by 37 is 6 with a remainder of 28.
Put 6 as the next digit of the answer. 
Result so far: 23422.756756
The remainder is 28 after subtracting 222 from 250.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

On to step 13:
If we divide 280 by 37, we get 7 and a remainder of 21.
Record the quotient 7 as the next digit in the result. 
Result so far: 23422.7567567
The remainder is 21 after subtracting 259 from 280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

On to step 14:
When dividing 210 by 37, we get 5 with a remainder of 25.
Write down 5 as next digit of the result. 
Result so far: 23422.75675675
Subtracting 185 from 210 leaves us with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Our division results in 23422.75675675 with a remaining 2.5e-08.