866540 ÷ 37 
Our goal is to divide 866540 by 37.

Advancing to step 1:
The number 37 fits into 8 0 times, leaving a remainder of 8.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 8, we end up with 8.
Append the next digit (6) from the dividend to 8 and continue with: 86 / 37

On to step 2:
When dividing 86 by 37, we get 2 with a remainder of 12.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
Subtracting 74 from 86 leaves us with 12.
Fetch the next digit (6) from the dividend, attach it to 12 and continue: 126 / 37

Step 3:
126 divided by 37 is 3 with 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.
Take the next digit (5) from the dividend and append it to 15, then repeat: 155 / 37

On to step 4:
37 can be fit into 155 4 times, resulting in a remainder of 7.
The next digit of our result is 4. 
Result so far: 234.0
The remainder is 7 after subtracting 148 from 155.
Take the next digit (4) from the dividend and append it to 7, then repeat: 74 / 37

Moving on to step 5:
When dividing 74 by 37, we get 2 with a remainder of 0.
Use 2 as the next digit of our solution. 
Result so far: 2342.0
Subtracting 74 from 74 leaves us with 0.
Include the next digit (0) from the dividend after 0, then repeat: 0 / 37

Going ahead to step 6:
If we divide 0 by 37, we get 0 and a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 23420.0
Subtracting 0 from 0 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Going ahead to step 7:
0 divided by 37 is 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 23420.0
Subtracting 0 from 0 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Advancing to step 8:
0 divided by 37 is 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 23420.0
If we take 0 away from 0, we end up with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The quotient of the division is 23420.0, and the remainder is 0.0.