We're dividing 540293 by 22 
Our goal is to divide 540293 by 22.

Let's proceed to step 1:
5 divided by 22 is 0 with a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Fetch the next digit (4) from the dividend, attach it to 5 and continue: 54 / 22

Going ahead to step 2:
22 goes into 54 2 times with a remainder of 10.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
If we subtract 44 from 54, we get 10.
Bring next digit (0) of the dividend behind the 10 and repeat the process: 100 / 22

Let's proceed to step 3:
The number 22 fits into 100 4 times, leaving a remainder of 12.
The next digit of our result is 4. 
Result so far: 24.0
If we subtract 88 from 100, we get 12.
Include the next digit (2) from the dividend after 12, then repeat: 122 / 22

On to step 4:
If we divide 122 by 22, we get 5 and a remainder of 12.
Write down 5 as next digit of the result. 
Result so far: 245.0
Subtracting 110 from 122 leaves us with 12.
Take the next digit (9) from the dividend and append it to 12, then repeat: 129 / 22

Step 5:
If we divide 129 by 22, we get 5 and a remainder of 19.
Use 5 as the next digit of our solution. 
Result so far: 2455.0
Subtract 110 from 129 to get 19.
Bring next digit (3) of the dividend behind the 19 and repeat the process: 193 / 22

Step 6:
193 divided by 22 is 8 with a remainder of 17.
The number 8 becomes the next digit in our result. 
Result so far: 24558.0
Subtracting 176 from 193 leaves us with 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Step 7:
22 can be fit into 170 7 times, resulting in a remainder of 16.
Record the quotient 7 as the next digit in the result. 
Result so far: 24558.7
Subtracting 154 from 170 leaves us with 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 8:
22 goes into 160 7 times with a remainder of 6.
Put 7 as the next digit of the answer. 
Result so far: 24558.77
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 quotient of the division is 24558.77, and the remainder is 0.006.