623987 divided by 5 
Let's see how many times 5 fits into 623987.

Going ahead to step 1:
5 goes into 6 1 times with a remainder of 1.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we subtract 5 from 6, we get 1.
Take the next digit (2) from the dividend and append it to 1, then repeat: 12 / 5

Going ahead to step 2:
5 goes into 12 2 times with a remainder of 2.
Put 2 as the next digit of the answer. 
Result so far: 12.0
If we take 10 away from 12, we end up with 2.
Include the next digit (3) from the dividend after 2, then repeat: 23 / 5

Going ahead to step 3:
5 can be fit into 23 4 times, resulting in a remainder of 3.
The next digit of our result is 4. 
Result so far: 124.0
The remainder is 3 after subtracting 20 from 23.
Grab the next digit (9) from the dividend, add it to 3, then carry on: 39 / 5

Advancing to step 4:
39 divided by 5 is 7 with a remainder of 4.
Record the quotient 7 as the next digit in the result. 
Result so far: 1247.0
Subtract 35 from 39 to get 4.
Grab the next digit (8) from the dividend, add it to 4, then carry on: 48 / 5

Let's proceed to step 5:
5 can be fit into 48 9 times, resulting in a remainder of 3.
Record the quotient 9 as the next digit in the result. 
Result so far: 12479.0
If we take 45 away from 48, we end up with 3.
Grab the next digit (7) from the dividend, add it to 3, then carry on: 37 / 5

Step 6:
When dividing 37 by 5, we get 7 with a remainder of 2.
The number 7 becomes the next digit in our result. 
Result so far: 124797.0
Subtracting 35 from 37 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.

Step 7:
When dividing 20 by 5, we get 4 with a remainder of 0.
Put 4 as the next digit of the answer. 
Result so far: 124797.4
Subtracting 20 from 20 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.

Moving on to step 8:
If we divide 0 by 5, we get 0 and a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 124797.4
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.

Moving 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: 124797.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.

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