We're dividing 840135 by 37 
Let's see how many times 37 fits into 840135.

Advancing to step 1:
37 goes into 8 0 times with a remainder of 8.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 8 and we're left with 8.
Append the next digit (4) from the dividend to 8 and continue with: 84 / 37

Going ahead to step 2:
If we divide 84 by 37, we get 2 and a remainder of 10.
Put 2 as the next digit of the answer. 
Result so far: 2.0
If we take 74 away from 84, we end up with 10.
Append the next digit (0) from the dividend to 10 and continue with: 100 / 37

Step 3:
If we divide 100 by 37, we get 2 and a remainder of 26.
Use 2 as the next digit of our solution. 
Result so far: 22.0
The remainder is 26 after subtracting 74 from 100.
Append the next digit (1) from the dividend to 26 and continue with: 261 / 37

Advancing to step 4:
If we divide 261 by 37, we get 7 and a remainder of 2.
Record the quotient 7 as the next digit in the result. 
Result so far: 227.0
If we take 259 away from 261, we end up with 2.
Fetch the next digit (3) from the dividend, attach it to 2 and continue: 23 / 37

Advancing to step 5:
The number 37 fits into 23 0 times, leaving a remainder of 23.
Record the quotient 0 as the next digit in the result. 
Result so far: 2270.0
Deduct 0 from 23 and we're left with 23.
Bring next digit (5) of the dividend behind the 23 and repeat the process: 235 / 37

Going ahead to step 6:
When dividing 235 by 37, we get 6 with a remainder of 13.
Record the quotient 6 as the next digit in the result. 
Result so far: 22706.0
Deduct 222 from 235 and we're left 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.

Moving on to step 7:
130 divided by 37 is 3 with a remainder of 19.
Record the quotient 3 as the next digit in the result. 
Result so far: 22706.3
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.

Advancing to step 8:
190 divided by 37 is 5 with a remainder of 5.
Use 5 as the next digit of our solution. 
Result so far: 22706.35
Subtract 185 from 190 to 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.

On to step 9:
37 can be fit into 50 1 times, resulting in a remainder of 13.
The number 1 becomes the next digit in our result. 
Result so far: 22706.351
Deduct 37 from 50 and we're left 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.

Advancing to step 10:
When dividing 130 by 37, we get 3 with a remainder of 19.
The next digit of our result is 3. 
Result so far: 22706.3513
If we take 111 away from 130, we end up 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.

Let's proceed to step 11:
When dividing 190 by 37, we get 5 with a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 22706.35135
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.

Advancing to step 12:
50 divided by 37 is 1 with a remainder of 13.
The number 1 becomes the next digit in our result. 
Result so far: 22706.351351
Subtract 37 from 50 to 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.

Moving on to step 13:
37 can be fit into 130 3 times, resulting in a remainder of 19.
The number 3 becomes the next digit in our result. 
Result so far: 22706.3513513
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.

Moving on to step 14:
The number 37 fits into 190 5 times, leaving a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 22706.35135135
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.

The quotient of the division is 22706.35135135, and the remainder is 5e-09.