Let's divide 40010540 by 679
We want to figure out the number of times 40010540 can be divided by 679.

Step 1:
679 can be fit into 4 0 times, resulting in a remainder of 4.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Include the next digit (0) from the dividend after 4, then repeat: 40 / 679

On to step 2:
The number 679 fits into 40 0 times, leaving a remainder of 40.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 40 leaves us with 40.
Fetch the next digit (0) from the dividend, attach it to 40 and continue: 400 / 679

Step 3:
If we divide 400 by 679, we get 0 and a remainder of 400.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 400, we get 400.
Bring next digit (1) of the dividend behind the 400 and repeat the process: 4001 / 679

Advancing to step 4:
The number 679 fits into 4001 5 times, leaving a remainder of 606.
Record the quotient 5 as the next digit in the result. 
Result so far: 5.0
Subtract 3395 from 4001 to get 606.
Bring next digit (0) of the dividend behind the 606 and repeat the process: 6060 / 679

Moving on to step 5:
When dividing 6060 by 679, we get 8 with a remainder of 628.
The next digit of our result is 8. 
Result so far: 58.0
Subtracting 5432 from 6060 leaves us with 628.
Include the next digit (5) from the dividend after 628, then repeat: 6285 / 679

Step 6:
679 goes into 6285 9 times with a remainder of 174.
Use 9 as the next digit of our solution. 
Result so far: 589.0
If we subtract 6111 from 6285, we get 174.
Include the next digit (4) from the dividend after 174, then repeat: 1744 / 679

Let's proceed to step 7:
1744 divided by 679 is 2 with a remainder of 386.
Record the quotient 2 as the next digit in the result. 
Result so far: 5892.0
Subtracting 1358 from 1744 leaves us with 386.
Grab the next digit (0) from the dividend, add it to 386, then carry on: 3860 / 679

On to step 8:
If we divide 3860 by 679, we get 5 and a remainder of 465.
The next digit of our result is 5. 
Result so far: 58925.0
If we take 3395 away from 3860, we end up with 465.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4650, and continue the process.

Moving on to step 9:
The number 679 fits into 4650 6 times, leaving a remainder of 576.
Put 6 as the next digit of the answer. 
Result so far: 58925.6
Subtracting 4074 from 4650 leaves us with 576.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5760, and continue the process.

Moving on to step 10:
If we divide 5760 by 679, we get 8 and a remainder of 328.
The number 8 becomes the next digit in our result. 
Result so far: 58925.68
Subtract 5432 from 5760 to get 328.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3280, and continue the process.

On to step 11:
679 can be fit into 3280 4 times, resulting in a remainder of 564.
The next digit of our result is 4. 
Result so far: 58925.684
If we subtract 2716 from 3280, we get 564.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5640, and continue the process.

Step 12:
When dividing 5640 by 679, we get 8 with a remainder of 208.
Use 8 as the next digit of our solution. 
Result so far: 58925.6848
Deduct 5432 from 5640 and we're left with 208.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2080, and continue the process.

Step 13:
679 can be fit into 2080 3 times, resulting in a remainder of 43.
The next digit of our result is 3. 
Result so far: 58925.68483
Subtracting 2037 from 2080 leaves us with 43.
Since there are no more digits in the dividend, we add a zero to the remainder making it 430, and continue the process.

Step 14:
679 can be fit into 430 0 times, resulting in a remainder of 430.
Use 0 as the next digit of our solution. 
Result so far: 58925.68483
If we take 0 away from 430, we end up with 430.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4300, and continue the process.

Moving on to step 15:
4300 divided by 679 is 6 with a remainder of 226.
The next digit of our result is 6. 
Result so far: 58925.6848306
Subtracting 4074 from 4300 leaves us with 226.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2260, and continue the process.

Let's proceed to step 16:
When dividing 2260 by 679, we get 3 with a remainder of 223.
The next digit of our result is 3. 
Result so far: 58925.68483063
Subtracting 2037 from 2260 leaves us with 223.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2230, and continue the process.

Our division results in 58925.68483063 with a remaining 2.23e-07.