Let's divide 21786226 by 562
Our goal is to divide 21786226 by 562.

Going ahead to step 1:
The number 562 fits into 2 0 times, leaving a remainder of 2.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 2 after subtracting 0 from 2.
Fetch the next digit (1) from the dividend, attach it to 2 and continue: 21 / 562

Moving on to step 2:
The number 562 fits into 21 0 times, leaving a remainder of 21.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 21, we end up with 21.
Append the next digit (7) from the dividend to 21 and continue with: 217 / 562

Moving on to step 3:
If we divide 217 by 562, we get 0 and a remainder of 217.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 217 after subtracting 0 from 217.
Take the next digit (8) from the dividend and append it to 217, then repeat: 2178 / 562

Step 4:
562 can be fit into 2178 3 times, resulting in a remainder of 492.
Use 3 as the next digit of our solution. 
Result so far: 3.0
If we subtract 1686 from 2178, we get 492.
Bring next digit (6) of the dividend behind the 492 and repeat the process: 4926 / 562

Going ahead to step 5:
562 goes into 4926 8 times with a remainder of 430.
Write down 8 as next digit of the result. 
Result so far: 38.0
Deduct 4496 from 4926 and we're left with 430.
Append the next digit (2) from the dividend to 430 and continue with: 4302 / 562

On to step 6:
When dividing 4302 by 562, we get 7 with a remainder of 368.
Write down 7 as next digit of the result. 
Result so far: 387.0
Subtracting 3934 from 4302 leaves us with 368.
Grab the next digit (2) from the dividend, add it to 368, then carry on: 3682 / 562

Step 7:
If we divide 3682 by 562, we get 6 and a remainder of 310.
Write down 6 as next digit of the result. 
Result so far: 3876.0
If we take 3372 away from 3682, we end up with 310.
Grab the next digit (6) from the dividend, add it to 310, then carry on: 3106 / 562

Moving on to step 8:
562 can be fit into 3106 5 times, resulting in a remainder of 296.
The number 5 becomes the next digit in our result. 
Result so far: 38765.0
If we subtract 2810 from 3106, we get 296.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2960, and continue the process.

Moving on to step 9:
When dividing 2960 by 562, we get 5 with a remainder of 150.
The number 5 becomes the next digit in our result. 
Result so far: 38765.5
Subtracting 2810 from 2960 leaves us with 150.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1500, and continue the process.

Step 10:
1500 divided by 562 is 2 with a remainder of 376.
The next digit of our result is 2. 
Result so far: 38765.52
If we subtract 1124 from 1500, we get 376.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3760, and continue the process.

Going ahead to step 11:
562 goes into 3760 6 times with a remainder of 388.
The next digit of our result is 6. 
Result so far: 38765.526
Deduct 3372 from 3760 and we're left with 388.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3880, and continue the process.

Going ahead to step 12:
3880 divided by 562 is 6 with a remainder of 508.
The number 6 becomes the next digit in our result. 
Result so far: 38765.5266
Subtracting 3372 from 3880 leaves us with 508.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5080, and continue the process.

The final outcome is 38765.5266, with a leftover of 0.00508.