We look at the division of 867894 by 5 
Our goal is to divide 867894 by 5.

Let's proceed to step 1:
5 goes into 8 1 times with a remainder of 3.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we take 5 away from 8, we end up with 3.
Include the next digit (6) from the dividend after 3, then repeat: 36 / 5

Moving on to step 2:
5 can be fit into 36 7 times, resulting in 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.
Fetch the next digit (7) from the dividend, attach it to 1 and continue: 17 / 5

Advancing to step 3:
5 can be fit into 17 3 times, resulting in a remainder of 2.
Put 3 as the next digit of the answer. 
Result so far: 173.0
Subtracting 15 from 17 leaves us with 2.
Append the next digit (8) from the dividend to 2 and continue with: 28 / 5

Going ahead to step 4:
5 can be fit into 28 5 times, resulting in a remainder of 3.
The next digit of our result is 5. 
Result so far: 1735.0
If we take 25 away from 28, we end up with 3.
Take the next digit (9) from the dividend and append it to 3, then repeat: 39 / 5

Let's proceed to step 5:
39 divided by 5 is 7 with a remainder of 4.
Write down 7 as next digit of the result. 
Result so far: 17357.0
Subtracting 35 from 39 leaves us with 4.
Take the next digit (4) from the dividend and append it to 4, then repeat: 44 / 5

Going ahead to step 6:
When dividing 44 by 5, we get 8 with a remainder of 4.
Use 8 as the next digit of our solution. 
Result so far: 173578.0
The remainder is 4 after subtracting 40 from 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Advancing to step 7:
5 goes into 40 8 times with a remainder of 0.
The number 8 becomes the next digit in our result. 
Result so far: 173578.8
Subtract 40 from 40 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.

Going ahead to step 8:
When dividing 0 by 5, we get 0 with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 173578.8
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.

Advancing to step 9:
5 can be fit into 0 0 times, resulting in a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 173578.8
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.

The final result is 173578.8 with a remainder of 0.0.