12040 ÷ 22 
We want to figure out the number of times 12040 can be divided by 22.

Going ahead to step 1:
The number 22 fits into 1 0 times, leaving a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 1, we get 1.
Bring next digit (2) of the dividend behind the 1 and repeat the process: 12 / 22

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

Going ahead to step 3:
22 can be fit into 120 5 times, resulting in a remainder of 10.
Write down 5 as next digit of the result. 
Result so far: 5.0
Subtracting 110 from 120 leaves us with 10.
Bring next digit (4) of the dividend behind the 10 and repeat the process: 104 / 22

Moving on to step 4:
104 divided by 22 is 4 with a remainder of 16.
The next digit of our result is 4. 
Result so far: 54.0
Subtract 88 from 104 to get 16.
Fetch the next digit (0) from the dividend, attach it to 16 and continue: 160 / 22

Moving on to step 5:
The number 22 fits into 160 7 times, leaving a remainder of 6.
Use 7 as the next digit of our solution. 
Result so far: 547.0
If we take 154 away from 160, we end up with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Step 6:
If we divide 60 by 22, we get 2 and a remainder of 16.
The number 2 becomes the next digit in our result. 
Result so far: 547.2
If we subtract 44 from 60, we get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Step 7:
22 goes into 160 7 times with a remainder of 6.
Record the quotient 7 as the next digit in the result. 
Result so far: 547.27
The remainder is 6 after subtracting 154 from 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Advancing to step 8:
60 divided by 22 is 2 with a remainder of 16.
Put 2 as the next digit of the answer. 
Result so far: 547.272
The remainder is 16 after subtracting 44 from 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

On to step 9:
22 goes into 160 7 times with a remainder of 6.
Use 7 as the next digit of our solution. 
Result so far: 547.2727
If we subtract 154 from 160, we get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Let's proceed to step 10:
60 divided by 22 is 2 with a remainder of 16.
Record the quotient 2 as the next digit in the result. 
Result so far: 547.27272
Subtract 44 from 60 to get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

On to step 11:
If we divide 160 by 22, we get 7 and a remainder of 6.
Put 7 as the next digit of the answer. 
Result so far: 547.272727
Deduct 154 from 160 and we're left with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Going ahead to step 12:
60 divided by 22 is 2 with a remainder of 16.
Record the quotient 2 as the next digit in the result. 
Result so far: 547.2727272
The remainder is 16 after subtracting 44 from 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Advancing to step 13:
160 divided by 22 is 7 with a remainder of 6.
Write down 7 as next digit of the result. 
Result so far: 547.27272727
The remainder is 6 after subtracting 154 from 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

The final result is 547.27272727 with a remainder of 6e-09.