Let's divide 402347 by 5
We're looking to find how many times 5 goes into 402347.

Going ahead to step 1:
If we divide 4 by 5, we get 0 and a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 4, we get 4.
Include the next digit (0) from the dividend after 4, then repeat: 40 / 5

Step 2:
5 goes into 40 8 times with a remainder of 0.
Use 8 as the next digit of our solution. 
Result so far: 8.0
The remainder is 0 after subtracting 40 from 40.
Grab the next digit (2) from the dividend, add it to 0, then carry on: 2 / 5

On to step 3:
When dividing 2 by 5, we get 0 with a remainder of 2.
The next digit of our result is 0. 
Result so far: 80.0
The remainder is 2 after subtracting 0 from 2.
Grab the next digit (3) from the dividend, add it to 2, then carry on: 23 / 5

Step 4:
5 can be fit into 23 4 times, resulting in a remainder of 3.
Write down 4 as next digit of the result. 
Result so far: 804.0
Subtracting 20 from 23 leaves us with 3.
Include the next digit (4) from the dividend after 3, then repeat: 34 / 5

Step 5:
If we divide 34 by 5, we get 6 and a remainder of 4.
The number 6 becomes the next digit in our result. 
Result so far: 8046.0
Deduct 30 from 34 and we're left with 4.
Bring next digit (7) of the dividend behind the 4 and repeat the process: 47 / 5

Let's proceed to step 6:
The number 5 fits into 47 9 times, leaving a remainder of 2.
The number 9 becomes the next digit in our result. 
Result so far: 80469.0
Subtracting 45 from 47 leaves us with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Going ahead to step 7:
5 goes into 20 4 times with a remainder of 0.
The number 4 becomes the next digit in our result. 
Result so far: 80469.4
If we subtract 20 from 20, 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:
0 divided by 5 is 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 80469.4
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.

Step 9:
5 goes into 0 0 times with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 80469.4
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.

After the division, we end up with 80469.4 and a remainder of 0.0.