We divide 242740 by 45
Let's see how many times 45 fits into 242740.

Advancing to step 1:
45 goes into 2 0 times with a remainder of 2.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 2 to get 2.
Append the next digit (4) from the dividend to 2 and continue with: 24 / 45

Going ahead to step 2:
The number 45 fits into 24 0 times, leaving a remainder of 24.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 24 after subtracting 0 from 24.
Append the next digit (2) from the dividend to 24 and continue with: 242 / 45

Let's proceed to step 3:
The number 45 fits into 242 5 times, leaving a remainder of 17.
Record the quotient 5 as the next digit in the result. 
Result so far: 5.0
Subtract 225 from 242 to get 17.
Append the next digit (7) from the dividend to 17 and continue with: 177 / 45

Moving on to step 4:
When dividing 177 by 45, we get 3 with a remainder of 42.
Put 3 as the next digit of the answer. 
Result so far: 53.0
Subtracting 135 from 177 leaves us with 42.
Include the next digit (4) from the dividend after 42, then repeat: 424 / 45

Step 5:
45 goes into 424 9 times with a remainder of 19.
Write down 9 as next digit of the result. 
Result so far: 539.0
Subtracting 405 from 424 leaves us with 19.
Take the next digit (0) from the dividend and append it to 19, then repeat: 190 / 45

On to step 6:
If we divide 190 by 45, we get 4 and a remainder of 10.
Use 4 as the next digit of our solution. 
Result so far: 5394.0
Subtract 180 from 190 to get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

On to step 7:
45 goes into 100 2 times with a remainder of 10.
The number 2 becomes the next digit in our result. 
Result so far: 5394.2
If we take 90 away from 100, we end up with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Going ahead to step 8:
If we divide 100 by 45, we get 2 and a remainder of 10.
The number 2 becomes the next digit in our result. 
Result so far: 5394.22
If we take 90 away from 100, we end up with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

The final result is 5394.22 with a remainder of 0.01.