Let's divide 867021 by 5
Let's see how many times 5 fits into 867021.

Moving on to step 1:
8 divided by 5 is 1 with a remainder of 3.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we subtract 5 from 8, we get 3.
Grab the next digit (6) from the dividend, add it to 3, then carry on: 36 / 5

Going ahead to step 2:
36 divided by 5 is 7 with a remainder of 1.
The next digit of our result is 7. 
Result so far: 17.0
The remainder is 1 after subtracting 35 from 36.
Take the next digit (7) from the dividend and append it to 1, then repeat: 17 / 5

Advancing to step 3:
When dividing 17 by 5, we get 3 with a remainder of 2.
Use 3 as the next digit of our solution. 
Result so far: 173.0
If we take 15 away from 17, we end up with 2.
Grab the next digit (0) from the dividend, add it to 2, then carry on: 20 / 5

On to step 4:
5 can be fit into 20 4 times, resulting in a remainder of 0.
The next digit of our result is 4. 
Result so far: 1734.0
Subtract 20 from 20 to get 0.
Include the next digit (2) from the dividend after 0, then repeat: 2 / 5

Let's proceed to step 5:
5 can be fit into 2 0 times, resulting in a remainder of 2.
Put 0 as the next digit of the answer. 
Result so far: 17340.0
Subtracting 0 from 2 leaves us with 2.
Grab the next digit (1) from the dividend, add it to 2, then carry on: 21 / 5

Let's proceed to step 6:
If we divide 21 by 5, we get 4 and a remainder of 1.
Put 4 as the next digit of the answer. 
Result so far: 173404.0
Subtracting 20 from 21 leaves us with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Going ahead to step 7:
5 goes into 10 2 times with a remainder of 0.
The number 2 becomes the next digit in our result. 
Result so far: 173404.2
If we subtract 10 from 10, 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 8:
5 can be fit into 0 0 times, resulting in a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 173404.2
Subtract 0 from 0 to 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.

On to step 9:
5 can be fit into 0 0 times, resulting in a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 173404.2
Subtract 0 from 0 to 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.

Our division results in 173404.2 with a remaining 0.0.