Let's divide 317789 by 27
Our goal is to divide 317789 by 27.

On to step 1:
The number 27 fits into 3 0 times, leaving a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Append the next digit (1) from the dividend to 3 and continue with: 31 / 27

Moving on to step 2:
31 divided by 27 is 1 with a remainder of 4.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we subtract 27 from 31, we get 4.
Fetch the next digit (7) from the dividend, attach it to 4 and continue: 47 / 27

Going ahead to step 3:
The number 27 fits into 47 1 times, leaving a remainder of 20.
The next digit of our result is 1. 
Result so far: 11.0
The remainder is 20 after subtracting 27 from 47.
Take the next digit (7) from the dividend and append it to 20, then repeat: 207 / 27

Moving on to step 4:
When dividing 207 by 27, we get 7 with a remainder of 18.
Use 7 as the next digit of our solution. 
Result so far: 117.0
Subtract 189 from 207 to get 18.
Grab the next digit (8) from the dividend, add it to 18, then carry on: 188 / 27

Let's proceed to step 5:
When dividing 188 by 27, we get 6 with a remainder of 26.
Use 6 as the next digit of our solution. 
Result so far: 1176.0
Subtracting 162 from 188 leaves us with 26.
Bring next digit (9) of the dividend behind the 26 and repeat the process: 269 / 27

On to step 6:
The number 27 fits into 269 9 times, leaving a remainder of 26.
The number 9 becomes the next digit in our result. 
Result so far: 11769.0
Deduct 243 from 269 and we're left 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.

Advancing to step 7:
When dividing 260 by 27, we get 9 with a remainder of 17.
Put 9 as the next digit of the answer. 
Result so far: 11769.9
If we subtract 243 from 260, we 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 8:
170 divided by 27 is 6 with a remainder of 8.
Write down 6 as next digit of the result. 
Result so far: 11769.96
Subtract 162 from 170 to 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.

On to step 9:
80 divided by 27 is 2 with a remainder of 26.
The number 2 becomes the next digit in our result. 
Result so far: 11769.962
Subtract 54 from 80 to get 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 10:
27 can be fit into 260 9 times, resulting in a remainder of 17.
The next digit of our result is 9. 
Result so far: 11769.9629
Subtracting 243 from 260 leaves us with 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Advancing to step 11:
170 divided by 27 is 6 with a remainder of 8.
The number 6 becomes the next digit in our result. 
Result so far: 11769.96296
If we take 162 away from 170, we end up 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.

Step 12:
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: 11769.962962
If we subtract 54 from 80, we get 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Advancing to step 13:
260 divided by 27 is 9 with a remainder of 17.
The next digit of our result is 9. 
Result so far: 11769.9629629
If we subtract 243 from 260, we 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.

Step 14:
If we divide 170 by 27, we get 6 and a remainder of 8.
The number 6 becomes the next digit in our result. 
Result so far: 11769.96296296
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.

The final outcome is 11769.96296296, with a leftover of 8e-09.