We're dividing 870097 by 37 
We're looking to find how many times 37 goes into 870097.

On to step 1:
8 divided by 37 is 0 with a remainder of 8.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 8, we get 8.
Fetch the next digit (7) from the dividend, attach it to 8 and continue: 87 / 37

Let's proceed to step 2:
37 goes into 87 2 times with a remainder of 13.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
Subtracting 74 from 87 leaves us with 13.
Fetch the next digit (0) from the dividend, attach it to 13 and continue: 130 / 37

Moving on to step 3:
The number 37 fits into 130 3 times, leaving a remainder of 19.
Put 3 as the next digit of the answer. 
Result so far: 23.0
Subtracting 111 from 130 leaves us with 19.
Fetch the next digit (0) from the dividend, attach it to 19 and continue: 190 / 37

Advancing to step 4:
37 goes into 190 5 times with a remainder of 5.
Put 5 as the next digit of the answer. 
Result so far: 235.0
If we take 185 away from 190, we end up with 5.
Bring next digit (9) of the dividend behind the 5 and repeat the process: 59 / 37

Going ahead to step 5:
59 divided by 37 is 1 with a remainder of 22.
The number 1 becomes the next digit in our result. 
Result so far: 2351.0
The remainder is 22 after subtracting 37 from 59.
Append the next digit (7) from the dividend to 22 and continue with: 227 / 37

Going ahead to step 6:
If we divide 227 by 37, we get 6 and a remainder of 5.
Write down 6 as next digit of the result. 
Result so far: 23516.0
Deduct 222 from 227 and we're left with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Going ahead to step 7:
37 can be fit into 50 1 times, resulting in a remainder of 13.
Use 1 as the next digit of our solution. 
Result so far: 23516.1
If we subtract 37 from 50, we get 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

On to step 8:
130 divided by 37 is 3 with a remainder of 19.
The number 3 becomes the next digit in our result. 
Result so far: 23516.13
Subtract 111 from 130 to get 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Moving on to step 9:
The number 37 fits into 190 5 times, leaving a remainder of 5.
Use 5 as the next digit of our solution. 
Result so far: 23516.135
If we subtract 185 from 190, we get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Going ahead to step 10:
If we divide 50 by 37, we get 1 and a remainder of 13.
Put 1 as the next digit of the answer. 
Result so far: 23516.1351
If we take 37 away from 50, we end up with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Step 11:
The number 37 fits into 130 3 times, leaving a remainder of 19.
Record the quotient 3 as the next digit in the result. 
Result so far: 23516.13513
Subtracting 111 from 130 leaves us with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Going ahead to step 12:
The number 37 fits into 190 5 times, leaving a remainder of 5.
Record the quotient 5 as the next digit in the result. 
Result so far: 23516.135135
The remainder is 5 after subtracting 185 from 190.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

On to step 13:
When dividing 50 by 37, we get 1 with a remainder of 13.
Write down 1 as next digit of the result. 
Result so far: 23516.1351351
If we subtract 37 from 50, we get 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Advancing to step 14:
37 goes into 130 3 times with a remainder of 19.
Write down 3 as next digit of the result. 
Result so far: 23516.13513513
The remainder is 19 after subtracting 111 from 130.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

The final outcome is 23516.13513513, with a leftover of 1.9e-08.