Let's divide 847037 by 40
We want to divide 847037 by 40.

Let's proceed to step 1:
The number 40 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
Subtracting 0 from 8 leaves us with 8.
Append the next digit (4) from the dividend to 8 and continue with: 84 / 40

Advancing to step 2:
If we divide 84 by 40, we get 2 and a remainder of 4.
The next digit of our result is 2. 
Result so far: 2.0
If we take 80 away from 84, we end up with 4.
Fetch the next digit (7) from the dividend, attach it to 4 and continue: 47 / 40

Going ahead to step 3:
If we divide 47 by 40, we get 1 and a remainder of 7.
The next digit of our result is 1. 
Result so far: 21.0
Subtract 40 from 47 to get 7.
Fetch the next digit (0) from the dividend, attach it to 7 and continue: 70 / 40

Going ahead to step 4:
If we divide 70 by 40, we get 1 and a remainder of 30.
Put 1 as the next digit of the answer. 
Result so far: 211.0
Subtracting 40 from 70 leaves us with 30.
Grab the next digit (3) from the dividend, add it to 30, then carry on: 303 / 40

On to step 5:
40 goes into 303 7 times with a remainder of 23.
Record the quotient 7 as the next digit in the result. 
Result so far: 2117.0
If we take 280 away from 303, we end up with 23.
Bring next digit (7) of the dividend behind the 23 and repeat the process: 237 / 40

Moving on to step 6:
40 goes into 237 5 times with a remainder of 37.
Put 5 as the next digit of the answer. 
Result so far: 21175.0
If we subtract 200 from 237, we get 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

Moving on to step 7:
The number 40 fits into 370 9 times, leaving a remainder of 10.
Record the quotient 9 as the next digit in the result. 
Result so far: 21175.9
If we subtract 360 from 370, we get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Advancing to step 8:
40 goes into 100 2 times with a remainder of 20.
Use 2 as the next digit of our solution. 
Result so far: 21175.92
Subtract 80 from 100 to get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Step 9:
40 can be fit into 200 5 times, resulting in a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 21175.925
The remainder is 0 after subtracting 200 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Moving on to step 10:
The number 40 fits into 0 0 times, leaving a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 21175.925
If we subtract 0 from 0, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Let's proceed to step 11:
40 can be fit into 0 0 times, resulting in a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 21175.925
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.

In conclusion, the division gives 21175.925 with a balance of 0.0.