We're dividing 240277 by 18 
Our goal is to divide 240277 by 18.

Moving on to step 1:
18 goes into 2 0 times with a remainder of 2.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 2, we end up with 2.
Fetch the next digit (4) from the dividend, attach it to 2 and continue: 24 / 18

Step 2:
18 goes into 24 1 times with a remainder of 6.
Write down 1 as next digit of the result. 
Result so far: 1.0
The remainder is 6 after subtracting 18 from 24.
Grab the next digit (0) from the dividend, add it to 6, then carry on: 60 / 18

Going ahead to step 3:
60 divided by 18 is 3 with a remainder of 6.
The next digit of our result is 3. 
Result so far: 13.0
Deduct 54 from 60 and we're left with 6.
Bring next digit (2) of the dividend behind the 6 and repeat the process: 62 / 18

On to step 4:
18 goes into 62 3 times with a remainder of 8.
Use 3 as the next digit of our solution. 
Result so far: 133.0
If we take 54 away from 62, we end up with 8.
Include the next digit (7) from the dividend after 8, then repeat: 87 / 18

On to step 5:
The number 18 fits into 87 4 times, leaving a remainder of 15.
Write down 4 as next digit of the result. 
Result so far: 1334.0
Deduct 72 from 87 and we're left with 15.
Fetch the next digit (7) from the dividend, attach it to 15 and continue: 157 / 18

Let's proceed to step 6:
When dividing 157 by 18, we get 8 with a remainder of 13.
Use 8 as the next digit of our solution. 
Result so far: 13348.0
If we take 144 away from 157, we end up with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Step 7:
If we divide 130 by 18, we get 7 and a remainder of 4.
Record the quotient 7 as the next digit in the result. 
Result so far: 13348.7
The remainder is 4 after subtracting 126 from 130.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Step 8:
When dividing 40 by 18, we get 2 with a remainder of 4.
Record the quotient 2 as the next digit in the result. 
Result so far: 13348.72
If we take 36 away from 40, we end up with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Advancing to step 9:
18 can be fit into 40 2 times, resulting in a remainder of 4.
Use 2 as the next digit of our solution. 
Result so far: 13348.722
Subtracting 36 from 40 leaves us with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

The quotient of the division is 13348.722, and the remainder is 0.0004.