Let's divide 340289 by 27
We want to divide 340289 by 27.

Step 1:
27 goes into 3 0 times with a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Fetch the next digit (4) from the dividend, attach it to 3 and continue: 34 / 27

Step 2:
27 goes into 34 1 times with a remainder of 7.
The next digit of our result is 1. 
Result so far: 1.0
If we take 27 away from 34, we end up with 7.
Include the next digit (0) from the dividend after 7, then repeat: 70 / 27

Step 3:
27 goes into 70 2 times with a remainder of 16.
The number 2 becomes the next digit in our result. 
Result so far: 12.0
Deduct 54 from 70 and we're left with 16.
Grab the next digit (2) from the dividend, add it to 16, then carry on: 162 / 27

Step 4:
27 goes into 162 6 times with a remainder of 0.
Put 6 as the next digit of the answer. 
Result so far: 126.0
Subtract 162 from 162 to get 0.
Take the next digit (8) from the dividend and append it to 0, then repeat: 8 / 27

Advancing to step 5:
27 can be fit into 8 0 times, resulting in a remainder of 8.
Use 0 as the next digit of our solution. 
Result so far: 1260.0
Subtract 0 from 8 to get 8.
Fetch the next digit (9) from the dividend, attach it to 8 and continue: 89 / 27

Step 6:
27 can be fit into 89 3 times, resulting in a remainder of 8.
Use 3 as the next digit of our solution. 
Result so far: 12603.0
If we subtract 81 from 89, 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.

Going ahead to step 7:
27 can be fit into 80 2 times, resulting in a remainder of 26.
Record the quotient 2 as the next digit in the result. 
Result so far: 12603.2
Deduct 54 from 80 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.

Going ahead to step 8:
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: 12603.29
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.

Advancing to step 9:
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: 12603.296
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.

Going ahead to step 10:
The number 27 fits into 80 2 times, leaving a remainder of 26.
Put 2 as the next digit of the answer. 
Result so far: 12603.2962
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.

On to step 11:
260 divided by 27 is 9 with a remainder of 17.
Put 9 as the next digit of the answer. 
Result so far: 12603.29629
Deduct 243 from 260 and we're left 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.

Moving on to step 12:
If we divide 170 by 27, we get 6 and a remainder of 8.
Record the quotient 6 as the next digit in the result. 
Result so far: 12603.296296
Subtracting 162 from 170 leaves us 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.

Going ahead to step 13:
If we divide 80 by 27, we get 2 and a remainder of 26.
Write down 2 as next digit of the result. 
Result so far: 12603.2962962
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.

Advancing to step 14:
The number 27 fits into 260 9 times, leaving a remainder of 17.
Put 9 as the next digit of the answer. 
Result so far: 12603.29629629
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.

The final outcome is 12603.29629629, with a leftover of 1.7e-08.