We divide 40030 by 5
We want to figure out the number of times 40030 can be divided by 5.

Going ahead to step 1:
If we divide 4 by 5, we get 0 and a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Take the next digit (0) from the dividend and append it to 4, then repeat: 40 / 5

Let's proceed to step 2:
The number 5 fits into 40 8 times, leaving a remainder of 0.
The number 8 becomes the next digit in our result. 
Result so far: 8.0
The remainder is 0 after subtracting 40 from 40.
Take the next digit (0) from the dividend and append it to 0, then repeat: 0 / 5

Moving on to step 3:
5 can be fit into 0 0 times, resulting in a remainder of 0.
The next digit of our result is 0. 
Result so far: 80.0
Subtract 0 from 0 to get 0.
Grab the next digit (3) from the dividend, add it to 0, then carry on: 3 / 5

Advancing to step 4:
3 divided by 5 is 0 with a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 800.0
The remainder is 3 after subtracting 0 from 3.
Append the next digit (0) from the dividend to 3 and continue with: 30 / 5

Advancing to step 5:
The number 5 fits into 30 6 times, leaving a remainder of 0.
Write down 6 as next digit of the result. 
Result so far: 8006.0
If we subtract 30 from 30, 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.

Advancing to step 6:
The number 5 fits into 0 0 times, leaving a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 8006.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.

On to step 7:
When dividing 0 by 5, we get 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 8006.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.

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