40560022 ÷ 822 
We want to figure out the number of times 40560022 can be divided by 822.

Advancing to step 1:
The number 822 fits into 4 0 times, leaving 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.
Append the next digit (0) from the dividend to 4 and continue with: 40 / 822

Let's proceed to step 2:
The number 822 fits into 40 0 times, leaving a remainder of 40.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 40 leaves us with 40.
Include the next digit (5) from the dividend after 40, then repeat: 405 / 822

Moving on to step 3:
405 divided by 822 is 0 with a remainder of 405.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 405 after subtracting 0 from 405.
Append the next digit (6) from the dividend to 405 and continue with: 4056 / 822

Step 4:
4056 divided by 822 is 4 with a remainder of 768.
Write down 4 as next digit of the result. 
Result so far: 4.0
Deduct 3288 from 4056 and we're left with 768.
Grab the next digit (0) from the dividend, add it to 768, then carry on: 7680 / 822

Step 5:
7680 divided by 822 is 9 with a remainder of 282.
Put 9 as the next digit of the answer. 
Result so far: 49.0
Deduct 7398 from 7680 and we're left with 282.
Fetch the next digit (0) from the dividend, attach it to 282 and continue: 2820 / 822

Let's proceed to step 6:
822 goes into 2820 3 times with a remainder of 354.
Use 3 as the next digit of our solution. 
Result so far: 493.0
Subtract 2466 from 2820 to get 354.
Bring next digit (2) of the dividend behind the 354 and repeat the process: 3542 / 822

Going ahead to step 7:
When dividing 3542 by 822, we get 4 with a remainder of 254.
The next digit of our result is 4. 
Result so far: 4934.0
If we take 3288 away from 3542, we end up with 254.
Grab the next digit (2) from the dividend, add it to 254, then carry on: 2542 / 822

Moving on to step 8:
822 can be fit into 2542 3 times, resulting in a remainder of 76.
Write down 3 as next digit of the result. 
Result so far: 49343.0
Subtracting 2466 from 2542 leaves us with 76.
Since there are no more digits in the dividend, we add a zero to the remainder making it 760, and continue the process.

Going ahead to step 9:
If we divide 760 by 822, we get 0 and a remainder of 760.
Use 0 as the next digit of our solution. 
Result so far: 49343.0
If we take 0 away from 760, we end up with 760.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7600, and continue the process.

Advancing to step 10:
7600 divided by 822 is 9 with a remainder of 202.
The number 9 becomes the next digit in our result. 
Result so far: 49343.09
If we take 7398 away from 7600, we end up with 202.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2020, and continue the process.

On to step 11:
2020 divided by 822 is 2 with a remainder of 376.
Record the quotient 2 as the next digit in the result. 
Result so far: 49343.092
Deduct 1644 from 2020 and we're left with 376.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3760, and continue the process.

Moving on to step 12:
3760 divided by 822 is 4 with a remainder of 472.
Record the quotient 4 as the next digit in the result. 
Result so far: 49343.0924
The remainder is 472 after subtracting 3288 from 3760.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4720, and continue the process.

Moving on to step 13:
When dividing 4720 by 822, we get 5 with a remainder of 610.
Write down 5 as next digit of the result. 
Result so far: 49343.09245
Subtract 4110 from 4720 to get 610.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6100, and continue the process.

Moving on to step 14:
When dividing 6100 by 822, we get 7 with a remainder of 346.
Put 7 as the next digit of the answer. 
Result so far: 49343.092457
If we take 5754 away from 6100, we end up with 346.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3460, and continue the process.

Let's proceed to step 15:
3460 divided by 822 is 4 with a remainder of 172.
Write down 4 as next digit of the result. 
Result so far: 49343.0924574
If we take 3288 away from 3460, we end up with 172.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1720, and continue the process.

Moving on to step 16:
822 goes into 1720 2 times with a remainder of 76.
Put 2 as the next digit of the answer. 
Result so far: 49343.09245742
Subtracting 1644 from 1720 leaves us with 76.
Since there are no more digits in the dividend, we add a zero to the remainder making it 760, and continue the process.

The final outcome is 49343.09245742, with a leftover of 7.6e-08.