We're dividing 507792 by 18 
Let's see how many times 18 fits into 507792.

Step 1:
When dividing 5 by 18, we get 0 with a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Grab the next digit (0) from the dividend, add it to 5, then carry on: 50 / 18

Let's proceed to step 2:
The number 18 fits into 50 2 times, leaving a remainder of 14.
Use 2 as the next digit of our solution. 
Result so far: 2.0
If we take 36 away from 50, we end up with 14.
Grab the next digit (7) from the dividend, add it to 14, then carry on: 147 / 18

On to step 3:
18 can be fit into 147 8 times, resulting in a remainder of 3.
Put 8 as the next digit of the answer. 
Result so far: 28.0
If we subtract 144 from 147, we get 3.
Bring next digit (7) of the dividend behind the 3 and repeat the process: 37 / 18

On to step 4:
18 can be fit into 37 2 times, resulting in a remainder of 1.
Record the quotient 2 as the next digit in the result. 
Result so far: 282.0
If we take 36 away from 37, we end up with 1.
Bring next digit (9) of the dividend behind the 1 and repeat the process: 19 / 18

Advancing to step 5:
18 can be fit into 19 1 times, resulting in a remainder of 1.
Record the quotient 1 as the next digit in the result. 
Result so far: 2821.0
Subtract 18 from 19 to get 1.
Append the next digit (2) from the dividend to 1 and continue with: 12 / 18

Going ahead to step 6:
If we divide 12 by 18, we get 0 and a remainder of 12.
The next digit of our result is 0. 
Result so far: 28210.0
Subtracting 0 from 12 leaves us with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

On to step 7:
18 can be fit into 120 6 times, resulting in a remainder of 12.
Use 6 as the next digit of our solution. 
Result so far: 28210.6
Deduct 108 from 120 and we're left with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Advancing to step 8:
The number 18 fits into 120 6 times, leaving a remainder of 12.
Use 6 as the next digit of our solution. 
Result so far: 28210.66
The remainder is 12 after subtracting 108 from 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

The final outcome is 28210.66, with a leftover of 0.012.