We're dividing 836440 by 40 
Our goal is to divide 836440 by 40.

Advancing to step 1:
The number 40 fits into 8 0 times, leaving a remainder of 8.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 8, we get 8.
Bring next digit (3) of the dividend behind the 8 and repeat the process: 83 / 40

Moving on to step 2:
40 goes into 83 2 times with a remainder of 3.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
If we take 80 away from 83, we end up with 3.
Fetch the next digit (6) from the dividend, attach it to 3 and continue: 36 / 40

On to step 3:
40 goes into 36 0 times with a remainder of 36.
The next digit of our result is 0. 
Result so far: 20.0
Subtracting 0 from 36 leaves us with 36.
Bring next digit (4) of the dividend behind the 36 and repeat the process: 364 / 40

On to step 4:
When dividing 364 by 40, we get 9 with a remainder of 4.
Put 9 as the next digit of the answer. 
Result so far: 209.0
Subtracting 360 from 364 leaves us with 4.
Take the next digit (4) from the dividend and append it to 4, then repeat: 44 / 40

Going ahead to step 5:
The number 40 fits into 44 1 times, leaving a remainder of 4.
The next digit of our result is 1. 
Result so far: 2091.0
The remainder is 4 after subtracting 40 from 44.
Take the next digit (0) from the dividend and append it to 4, then repeat: 40 / 40

Going ahead to step 6:
If we divide 40 by 40, we get 1 and a remainder of 0.
Write down 1 as next digit of the result. 
Result so far: 20911.0
The remainder is 0 after subtracting 40 from 40.
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 7:
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: 20911.0
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

On to step 8:
If we divide 0 by 40, we get 0 and a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 20911.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.

After the division, we end up with 20911.0 and a remainder of 0.0.