We're dividing 22217422 by 581 
Our goal is to divide 22217422 by 581.

Step 1:
The number 581 fits into 2 0 times, leaving a remainder of 2.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 2, we end up with 2.
Append the next digit (2) from the dividend to 2 and continue with: 22 / 581

On to step 2:
22 divided by 581 is 0 with a remainder of 22.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 22, we end up with 22.
Append the next digit (2) from the dividend to 22 and continue with: 222 / 581

On to step 3:
581 goes into 222 0 times with a remainder of 222.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 222 leaves us with 222.
Append the next digit (1) from the dividend to 222 and continue with: 2221 / 581

Moving on to step 4:
581 goes into 2221 3 times with a remainder of 478.
The next digit of our result is 3. 
Result so far: 3.0
Subtracting 1743 from 2221 leaves us with 478.
Take the next digit (7) from the dividend and append it to 478, then repeat: 4787 / 581

Step 5:
When dividing 4787 by 581, we get 8 with a remainder of 139.
The number 8 becomes the next digit in our result. 
Result so far: 38.0
If we take 4648 away from 4787, we end up with 139.
Grab the next digit (4) from the dividend, add it to 139, then carry on: 1394 / 581

Going ahead to step 6:
1394 divided by 581 is 2 with a remainder of 232.
The next digit of our result is 2. 
Result so far: 382.0
Subtract 1162 from 1394 to get 232.
Bring next digit (2) of the dividend behind the 232 and repeat the process: 2322 / 581

Let's proceed to step 7:
581 goes into 2322 3 times with a remainder of 579.
The number 3 becomes the next digit in our result. 
Result so far: 3823.0
Subtracting 1743 from 2322 leaves us with 579.
Append the next digit (2) from the dividend to 579 and continue with: 5792 / 581

Let's proceed to step 8:
When dividing 5792 by 581, we get 9 with a remainder of 563.
Use 9 as the next digit of our solution. 
Result so far: 38239.0
If we take 5229 away from 5792, we end up with 563.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5630, and continue the process.

Let's proceed to step 9:
581 can be fit into 5630 9 times, resulting in a remainder of 401.
Record the quotient 9 as the next digit in the result. 
Result so far: 38239.9
The remainder is 401 after subtracting 5229 from 5630.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4010, and continue the process.

Going ahead to step 10:
581 goes into 4010 6 times with a remainder of 524.
Record the quotient 6 as the next digit in the result. 
Result so far: 38239.96
Subtracting 3486 from 4010 leaves us with 524.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5240, and continue the process.

Step 11:
5240 divided by 581 is 9 with a remainder of 11.
Write down 9 as next digit of the result. 
Result so far: 38239.969
Subtract 5229 from 5240 to get 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Moving on to step 12:
If we divide 110 by 581, we get 0 and a remainder of 110.
Write down 0 as next digit of the result. 
Result so far: 38239.969
Deduct 0 from 110 and we're left with 110.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1100, and continue the process.

Advancing to step 13:
When dividing 1100 by 581, we get 1 with a remainder of 519.
Write down 1 as next digit of the result. 
Result so far: 38239.96901
If we subtract 581 from 1100, we get 519.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5190, and continue the process.

Advancing to step 14:
5190 divided by 581 is 8 with a remainder of 542.
Write down 8 as next digit of the result. 
Result so far: 38239.969018
If we take 4648 away from 5190, we end up with 542.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5420, and continue the process.

On to step 15:
581 goes into 5420 9 times with a remainder of 191.
The number 9 becomes the next digit in our result. 
Result so far: 38239.9690189
Subtract 5229 from 5420 to get 191.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1910, and continue the process.

Moving on to step 16:
When dividing 1910 by 581, we get 3 with a remainder of 167.
Write down 3 as next digit of the result. 
Result so far: 38239.96901893
The remainder is 167 after subtracting 1743 from 1910.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1670, and continue the process.

Our division results in 38239.96901893 with a remaining 1.67e-07.