394140 ÷ 5 
We're looking to find how many times 5 goes into 394140.

Going ahead to step 1:
When dividing 3 by 5, we get 0 with a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Grab the next digit (9) from the dividend, add it to 3, then carry on: 39 / 5

Advancing to step 2:
5 goes into 39 7 times with a remainder of 4.
The number 7 becomes the next digit in our result. 
Result so far: 7.0
If we take 35 away from 39, we end up with 4.
Take the next digit (4) from the dividend and append it to 4, then repeat: 44 / 5

Step 3:
When dividing 44 by 5, we get 8 with a remainder of 4.
Put 8 as the next digit of the answer. 
Result so far: 78.0
Deduct 40 from 44 and we're left with 4.
Grab the next digit (1) from the dividend, add it to 4, then carry on: 41 / 5

Moving on to step 4:
The number 5 fits into 41 8 times, leaving a remainder of 1.
The number 8 becomes the next digit in our result. 
Result so far: 788.0
If we subtract 40 from 41, we get 1.
Fetch the next digit (4) from the dividend, attach it to 1 and continue: 14 / 5

Step 5:
14 divided by 5 is 2 with a remainder of 4.
Write down 2 as next digit of the result. 
Result so far: 7882.0
Subtracting 10 from 14 leaves us with 4.
Fetch the next digit (0) from the dividend, attach it to 4 and continue: 40 / 5

Moving on to step 6:
5 can be fit into 40 8 times, resulting in a remainder of 0.
Write down 8 as next digit of the result. 
Result so far: 78828.0
Deduct 40 from 40 and we're left 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.

Step 7:
The number 5 fits into 0 0 times, leaving a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 78828.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.

Going ahead to step 8:
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: 78828.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.

The quotient of the division is 78828.0, and the remainder is 0.0.