840671 ÷ 2 
We're looking to find how many times 2 goes into 840671.

Step 1:
2 can be fit into 8 4 times, resulting in a remainder of 0.
Record the quotient 4 as the next digit in the result. 
Result so far: 4.0
If we take 8 away from 8, we end up with 0.
Include the next digit (4) from the dividend after 0, then repeat: 4 / 2

On to step 2:
The number 2 fits into 4 2 times, leaving a remainder of 0.
The next digit of our result is 2. 
Result so far: 42.0
Subtract 4 from 4 to get 0.
Fetch the next digit (0) from the dividend, attach it to 0 and continue: 0 / 2

Step 3:
2 goes into 0 0 times with a remainder of 0.
The next digit of our result is 0. 
Result so far: 420.0
Subtracting 0 from 0 leaves us with 0.
Include the next digit (6) from the dividend after 0, then repeat: 6 / 2

Advancing to step 4:
When dividing 6 by 2, we get 3 with a remainder of 0.
Record the quotient 3 as the next digit in the result. 
Result so far: 4203.0
If we subtract 6 from 6, we get 0.
Include the next digit (7) from the dividend after 0, then repeat: 7 / 2

Advancing to step 5:
2 goes into 7 3 times with a remainder of 1.
Record the quotient 3 as the next digit in the result. 
Result so far: 42033.0
The remainder is 1 after subtracting 6 from 7.
Grab the next digit (1) from the dividend, add it to 1, then carry on: 11 / 2

Moving on to step 6:
2 goes into 11 5 times with a remainder of 1.
Write down 5 as next digit of the result. 
Result so far: 420335.0
Subtract 10 from 11 to get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Advancing to step 7:
When dividing 10 by 2, we get 5 with a remainder of 0.
Record the quotient 5 as the next digit in the result. 
Result so far: 420335.5
If we take 10 away from 10, 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.

Going ahead to step 8:
2 goes into 0 0 times with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 420335.5
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.

Step 9:
When dividing 0 by 2, we get 0 with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 420335.5
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.

Our division results in 420335.5 with a remaining 0.0.