We're dividing 508940 by 27 
Our goal is to divide 508940 by 27.

Going ahead to step 1:
5 divided by 27 is 0 with a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Bring next digit (0) of the dividend behind the 5 and repeat the process: 50 / 27

Advancing to step 2:
If we divide 50 by 27, we get 1 and a remainder of 23.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we take 27 away from 50, we end up with 23.
Fetch the next digit (8) from the dividend, attach it to 23 and continue: 238 / 27

Let's proceed to step 3:
238 divided by 27 is 8 with a remainder of 22.
The number 8 becomes the next digit in our result. 
Result so far: 18.0
If we take 216 away from 238, we end up with 22.
Include the next digit (9) from the dividend after 22, then repeat: 229 / 27

Moving on to step 4:
If we divide 229 by 27, we get 8 and a remainder of 13.
Record the quotient 8 as the next digit in the result. 
Result so far: 188.0
Subtract 216 from 229 to get 13.
Fetch the next digit (4) from the dividend, attach it to 13 and continue: 134 / 27

Advancing to step 5:
If we divide 134 by 27, we get 4 and a remainder of 26.
Write down 4 as next digit of the result. 
Result so far: 1884.0
If we subtract 108 from 134, we get 26.
Append the next digit (0) from the dividend to 26 and continue with: 260 / 27

On to step 6:
27 can be fit into 260 9 times, resulting in a remainder of 17.
The number 9 becomes the next digit in our result. 
Result so far: 18849.0
The remainder is 17 after subtracting 243 from 260.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Let's proceed to step 7:
The number 27 fits into 170 6 times, leaving a remainder of 8.
Put 6 as the next digit of the answer. 
Result so far: 18849.6
If we subtract 162 from 170, we get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Advancing to step 8:
27 can be fit into 80 2 times, resulting in a remainder of 26.
Use 2 as the next digit of our solution. 
Result so far: 18849.62
Subtracting 54 from 80 leaves us with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Step 9:
If we divide 260 by 27, we get 9 and a remainder of 17.
The number 9 becomes the next digit in our result. 
Result so far: 18849.629
Subtract 243 from 260 to get 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Moving on to step 10:
170 divided by 27 is 6 with a remainder of 8.
The next digit of our result is 6. 
Result so far: 18849.6296
The remainder is 8 after subtracting 162 from 170.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Moving on to step 11:
If we divide 80 by 27, we get 2 and a remainder of 26.
The next digit of our result is 2. 
Result so far: 18849.62962
Subtracting 54 from 80 leaves us with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Let's proceed to step 12:
When dividing 260 by 27, we get 9 with a remainder of 17.
The next digit of our result is 9. 
Result so far: 18849.629629
Subtract 243 from 260 to get 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Going ahead to step 13:
170 divided by 27 is 6 with a remainder of 8.
The number 6 becomes the next digit in our result. 
Result so far: 18849.6296296
Deduct 162 from 170 and we're left with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Advancing to step 14:
The number 27 fits into 80 2 times, leaving a remainder of 26.
The next digit of our result is 2. 
Result so far: 18849.62962962
If we take 54 away from 80, we end up with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

The final result is 18849.62962962 with a remainder of 2.6e-08.