Let's divide 640240 by 5
Let's see how many times 5 fits into 640240.

Step 1:
5 goes into 6 1 times with a remainder of 1.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
If we take 5 away from 6, we end up with 1.
Take the next digit (4) from the dividend and append it to 1, then repeat: 14 / 5

Advancing to step 2:
5 goes into 14 2 times with a remainder of 4.
Record the quotient 2 as the next digit in the result. 
Result so far: 12.0
Subtract 10 from 14 to get 4.
Include the next digit (0) from the dividend after 4, then repeat: 40 / 5

Advancing to step 3:
If we divide 40 by 5, we get 8 and a remainder of 0.
Use 8 as the next digit of our solution. 
Result so far: 128.0
Subtract 40 from 40 to get 0.
Take the next digit (2) from the dividend and append it to 0, then repeat: 2 / 5

Let's proceed to step 4:
When dividing 2 by 5, we get 0 with a remainder of 2.
The next digit of our result is 0. 
Result so far: 1280.0
If we take 0 away from 2, we end up with 2.
Fetch the next digit (4) from the dividend, attach it to 2 and continue: 24 / 5

On to step 5:
24 divided by 5 is 4 with a remainder of 4.
Put 4 as the next digit of the answer. 
Result so far: 12804.0
The remainder is 4 after subtracting 20 from 24.
Append the next digit (0) from the dividend to 4 and continue with: 40 / 5

On to step 6:
5 goes into 40 8 times with a remainder of 0.
The number 8 becomes the next digit in our result. 
Result so far: 128048.0
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 7:
If we divide 0 by 5, we get 0 and a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 128048.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.

Step 8:
If we divide 0 by 5, we get 0 and a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 128048.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.

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