We divide 398310 by 5
We're looking to find how many times 5 goes into 398310.

Let's proceed to step 1:
5 can be fit into 3 0 times, resulting in a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Grab the next digit (9) from the dividend, add it to 3, then carry on: 39 / 5

Going ahead to step 2:
5 can be fit into 39 7 times, resulting in a remainder of 4.
Put 7 as the next digit of the answer. 
Result so far: 7.0
Subtract 35 from 39 to get 4.
Bring next digit (8) of the dividend behind the 4 and repeat the process: 48 / 5

On to step 3:
48 divided by 5 is 9 with a remainder of 3.
The next digit of our result is 9. 
Result so far: 79.0
Subtracting 45 from 48 leaves us with 3.
Append the next digit (3) from the dividend to 3 and continue with: 33 / 5

Moving on to step 4:
The number 5 fits into 33 6 times, leaving a remainder of 3.
Write down 6 as next digit of the result. 
Result so far: 796.0
The remainder is 3 after subtracting 30 from 33.
Append the next digit (1) from the dividend to 3 and continue with: 31 / 5

Moving on to step 5:
If we divide 31 by 5, we get 6 and a remainder of 1.
Use 6 as the next digit of our solution. 
Result so far: 7966.0
Subtract 30 from 31 to get 1.
Fetch the next digit (0) from the dividend, attach it to 1 and continue: 10 / 5

Step 6:
10 divided by 5 is 2 with a remainder of 0.
Put 2 as the next digit of the answer. 
Result so far: 79662.0
The remainder is 0 after subtracting 10 from 10.
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 7:
5 goes into 0 0 times with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 79662.0
If we subtract 0 from 0, 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.

Step 8:
The number 5 fits into 0 0 times, leaving a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 79662.0
Deduct 0 from 0 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.

The final outcome is 79662.0, with a leftover of 0.0.