Let's divide 40040780 by 10
Let's see how many times 10 fits into 40040780.

Let's proceed to step 1:
4 divided by 10 is 0 with a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 4, we get 4.
Append the next digit (0) from the dividend to 4 and continue with: 40 / 10

On to step 2:
10 can be fit into 40 4 times, resulting in a remainder of 0.
Record the quotient 4 as the next digit in the result. 
Result so far: 4.0
Subtracting 40 from 40 leaves us with 0.
Include the next digit (0) from the dividend after 0, then repeat: 0 / 10

Let's proceed to step 3:
10 can be fit into 0 0 times, resulting in a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 40.0
Subtracting 0 from 0 leaves us with 0.
Fetch the next digit (4) from the dividend, attach it to 0 and continue: 4 / 10

Let's proceed to step 4:
The number 10 fits into 4 0 times, leaving a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 400.0
If we subtract 0 from 4, we get 4.
Take the next digit (0) from the dividend and append it to 4, then repeat: 40 / 10

Moving on to step 5:
When dividing 40 by 10, we get 4 with a remainder of 0.
Use 4 as the next digit of our solution. 
Result so far: 4004.0
If we take 40 away from 40, we end up with 0.
Fetch the next digit (7) from the dividend, attach it to 0 and continue: 7 / 10

Step 6:
10 goes into 7 0 times with a remainder of 7.
Use 0 as the next digit of our solution. 
Result so far: 40040.0
The remainder is 7 after subtracting 0 from 7.
Take the next digit (8) from the dividend and append it to 7, then repeat: 78 / 10

Step 7:
10 can be fit into 78 7 times, resulting in a remainder of 8.
Put 7 as the next digit of the answer. 
Result so far: 400407.0
Subtracting 70 from 78 leaves us with 8.
Include the next digit (0) from the dividend after 8, then repeat: 80 / 10

Moving on to step 8:
The number 10 fits into 80 8 times, leaving a remainder of 0.
Use 8 as the next digit of our solution. 
Result so far: 4004078.0
Subtract 80 from 80 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.

Advancing to step 9:
If we divide 0 by 10, we get 0 and a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 4004078.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.

Let's proceed to step 10:
10 can be fit into 0 0 times, resulting in a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 4004078.0
The remainder is 0 after subtracting 0 from 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 result is 4004078.0 with a remainder of 0.0.