Let's divide 245787 by 18
We're looking to find how many times 18 goes into 245787.

Moving on to step 1:
The number 18 fits into 2 0 times, leaving a remainder of 2.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 2, we end up with 2.
Take the next digit (4) from the dividend and append it to 2, then repeat: 24 / 18

Let's proceed to step 2:
18 can be fit into 24 1 times, resulting in a remainder of 6.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
The remainder is 6 after subtracting 18 from 24.
Include the next digit (5) from the dividend after 6, then repeat: 65 / 18

Let's proceed to step 3:
The number 18 fits into 65 3 times, leaving a remainder of 11.
The next digit of our result is 3. 
Result so far: 13.0
If we subtract 54 from 65, we get 11.
Fetch the next digit (7) from the dividend, attach it to 11 and continue: 117 / 18

On to step 4:
18 can be fit into 117 6 times, resulting in a remainder of 9.
The number 6 becomes the next digit in our result. 
Result so far: 136.0
If we subtract 108 from 117, we get 9.
Grab the next digit (8) from the dividend, add it to 9, then carry on: 98 / 18

Advancing to step 5:
If we divide 98 by 18, we get 5 and a remainder of 8.
The number 5 becomes the next digit in our result. 
Result so far: 1365.0
Subtract 90 from 98 to get 8.
Take the next digit (7) from the dividend and append it to 8, then repeat: 87 / 18

Let's proceed to step 6:
18 can be fit into 87 4 times, resulting in a remainder of 15.
Record the quotient 4 as the next digit in the result. 
Result so far: 13654.0
The remainder is 15 after subtracting 72 from 87.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Moving on to step 7:
If we divide 150 by 18, we get 8 and a remainder of 6.
Put 8 as the next digit of the answer. 
Result so far: 13654.8
Subtract 144 from 150 to 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 8:
18 can be fit into 60 3 times, resulting in a remainder of 6.
The number 3 becomes the next digit in our result. 
Result so far: 13654.83
If we subtract 54 from 60, 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.

Advancing to step 9:
When dividing 60 by 18, we get 3 with a remainder of 6.
The number 3 becomes the next digit in our result. 
Result so far: 13654.833
Subtracting 54 from 60 leaves us 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.

The final result is 13654.833 with a remainder of 0.0006.