40188642 ÷ 562 
We want to figure out the number of times 40188642 can be divided by 562.

Moving on to step 1:
If we divide 4 by 562, we get 0 and a remainder of 4.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 4 to get 4.
Take the next digit (0) from the dividend and append it to 4, then repeat: 40 / 562

On to step 2:
562 goes into 40 0 times with a remainder of 40.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 40, we get 40.
Take the next digit (1) from the dividend and append it to 40, then repeat: 401 / 562

Step 3:
401 divided by 562 is 0 with a remainder of 401.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 401 to get 401.
Include the next digit (8) from the dividend after 401, then repeat: 4018 / 562

Let's proceed to step 4:
562 can be fit into 4018 7 times, resulting in a remainder of 84.
Record the quotient 7 as the next digit in the result. 
Result so far: 7.0
Subtracting 3934 from 4018 leaves us with 84.
Append the next digit (8) from the dividend to 84 and continue with: 848 / 562

On to step 5:
When dividing 848 by 562, we get 1 with a remainder of 286.
The next digit of our result is 1. 
Result so far: 71.0
If we take 562 away from 848, we end up with 286.
Grab the next digit (6) from the dividend, add it to 286, then carry on: 2866 / 562

Step 6:
2866 divided by 562 is 5 with a remainder of 56.
Put 5 as the next digit of the answer. 
Result so far: 715.0
Deduct 2810 from 2866 and we're left with 56.
Append the next digit (4) from the dividend to 56 and continue with: 564 / 562

Let's proceed to step 7:
564 divided by 562 is 1 with a remainder of 2.
The next digit of our result is 1. 
Result so far: 7151.0
Subtract 562 from 564 to get 2.
Include the next digit (2) from the dividend after 2, then repeat: 22 / 562

On to step 8:
If we divide 22 by 562, we get 0 and a remainder of 22.
Put 0 as the next digit of the answer. 
Result so far: 71510.0
Subtracting 0 from 22 leaves us with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Going ahead to step 9:
562 can be fit into 220 0 times, resulting in a remainder of 220.
The number 0 becomes the next digit in our result. 
Result so far: 71510.0
If we take 0 away from 220, we end up with 220.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2200, and continue the process.

Let's proceed to step 10:
562 goes into 2200 3 times with a remainder of 514.
Put 3 as the next digit of the answer. 
Result so far: 71510.03
If we take 1686 away from 2200, we end up with 514.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5140, and continue the process.

On to step 11:
If we divide 5140 by 562, we get 9 and a remainder of 82.
Use 9 as the next digit of our solution. 
Result so far: 71510.039
Deduct 5058 from 5140 and we're left with 82.
Since there are no more digits in the dividend, we add a zero to the remainder making it 820, and continue the process.

Going ahead to step 12:
820 divided by 562 is 1 with a remainder of 258.
The number 1 becomes the next digit in our result. 
Result so far: 71510.0391
Subtract 562 from 820 to get 258.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2580, and continue the process.

Advancing to step 13:
2580 divided by 562 is 4 with a remainder of 332.
Write down 4 as next digit of the result. 
Result so far: 71510.03914
The remainder is 332 after subtracting 2248 from 2580.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3320, and continue the process.

On to step 14:
3320 divided by 562 is 5 with a remainder of 510.
The number 5 becomes the next digit in our result. 
Result so far: 71510.039145
Subtracting 2810 from 3320 leaves us with 510.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5100, and continue the process.

Step 15:
The number 562 fits into 5100 9 times, leaving a remainder of 42.
Write down 9 as next digit of the result. 
Result so far: 71510.0391459
If we take 5058 away from 5100, we end up with 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

Going ahead to step 16:
420 divided by 562 is 0 with a remainder of 420.
Put 0 as the next digit of the answer. 
Result so far: 71510.0391459
The remainder is 420 after subtracting 0 from 420.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4200, and continue the process.

The final outcome is 71510.0391459, with a leftover of 4.2e-07.