We look at the division of 22228402 by 585 
Our goal is to divide 22228402 by 585.

Step 1:
If we divide 2 by 585, we get 0 and a remainder of 2.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 2 after subtracting 0 from 2.
Include the next digit (2) from the dividend after 2, then repeat: 22 / 585

On to step 2:
585 can be fit into 22 0 times, resulting in a remainder of 22.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 22 after subtracting 0 from 22.
Take the next digit (2) from the dividend and append it to 22, then repeat: 222 / 585

Advancing to step 3:
585 can be fit into 222 0 times, resulting in a remainder of 222.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 222, we get 222.
Include the next digit (2) from the dividend after 222, then repeat: 2222 / 585

Step 4:
585 can be fit into 2222 3 times, resulting in a remainder of 467.
Use 3 as the next digit of our solution. 
Result so far: 3.0
Subtracting 1755 from 2222 leaves us with 467.
Include the next digit (8) from the dividend after 467, then repeat: 4678 / 585

Advancing to step 5:
585 can be fit into 4678 7 times, resulting in a remainder of 583.
Use 7 as the next digit of our solution. 
Result so far: 37.0
If we take 4095 away from 4678, we end up with 583.
Bring next digit (4) of the dividend behind the 583 and repeat the process: 5834 / 585

Advancing to step 6:
5834 divided by 585 is 9 with a remainder of 569.
Put 9 as the next digit of the answer. 
Result so far: 379.0
Subtract 5265 from 5834 to get 569.
Grab the next digit (0) from the dividend, add it to 569, then carry on: 5690 / 585

Step 7:
When dividing 5690 by 585, we get 9 with a remainder of 425.
The next digit of our result is 9. 
Result so far: 3799.0
Subtracting 5265 from 5690 leaves us with 425.
Grab the next digit (2) from the dividend, add it to 425, then carry on: 4252 / 585

Advancing to step 8:
4252 divided by 585 is 7 with a remainder of 157.
Use 7 as the next digit of our solution. 
Result so far: 37997.0
If we subtract 4095 from 4252, we get 157.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1570, and continue the process.

Moving on to step 9:
1570 divided by 585 is 2 with a remainder of 400.
The next digit of our result is 2. 
Result so far: 37997.2
Deduct 1170 from 1570 and we're left with 400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4000, and continue the process.

Step 10:
585 can be fit into 4000 6 times, resulting in a remainder of 490.
Write down 6 as next digit of the result. 
Result so far: 37997.26
If we take 3510 away from 4000, we end up with 490.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4900, and continue the process.

Moving on to step 11:
When dividing 4900 by 585, we get 8 with a remainder of 220.
Record the quotient 8 as the next digit in the result. 
Result so far: 37997.268
If we subtract 4680 from 4900, we get 220.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2200, and continue the process.

Moving on to step 12:
If we divide 2200 by 585, we get 3 and a remainder of 445.
Record the quotient 3 as the next digit in the result. 
Result so far: 37997.2683
Subtracting 1755 from 2200 leaves us with 445.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4450, and continue the process.

Advancing to step 13:
The number 585 fits into 4450 7 times, leaving a remainder of 355.
The next digit of our result is 7. 
Result so far: 37997.26837
Deduct 4095 from 4450 and we're left with 355.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3550, and continue the process.

Moving on to step 14:
3550 divided by 585 is 6 with a remainder of 40.
The next digit of our result is 6. 
Result so far: 37997.268376
Subtracting 3510 from 3550 leaves us with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Advancing to step 15:
If we divide 400 by 585, we get 0 and a remainder of 400.
Put 0 as the next digit of the answer. 
Result so far: 37997.268376
The remainder is 400 after subtracting 0 from 400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4000, and continue the process.

Advancing to step 16:
585 can be fit into 4000 6 times, resulting in a remainder of 490.
The next digit of our result is 6. 
Result so far: 37997.26837606
If we subtract 3510 from 4000, we get 490.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4900, and continue the process.

After the division, we end up with 37997.26837606 and a remainder of 4.9e-07.