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

Going ahead to step 1:
If we divide 5 by 27, we get 0 and a remainder of 5.
The next digit of our result is 0. 
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 / 27

Step 2:
If we divide 50 by 27, we get 1 and a remainder of 23.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Subtracting 27 from 50 leaves us with 23.
Take the next digit (6) from the dividend and append it to 23, then repeat: 236 / 27

Let's proceed to step 3:
27 goes into 236 8 times with a remainder of 20.
Use 8 as the next digit of our solution. 
Result so far: 18.0
Subtracting 216 from 236 leaves us with 20.
Append the next digit (1) from the dividend to 20 and continue with: 201 / 27

Going ahead to step 4:
The number 27 fits into 201 7 times, leaving a remainder of 12.
Write down 7 as next digit of the result. 
Result so far: 187.0
If we subtract 189 from 201, we get 12.
Take the next digit (7) from the dividend and append it to 12, then repeat: 127 / 27

Let's proceed to step 5:
27 can be fit into 127 4 times, resulting in a remainder of 19.
Record the quotient 4 as the next digit in the result. 
Result so far: 1874.0
If we subtract 108 from 127, we get 19.
Grab the next digit (0) from the dividend, add it to 19, then carry on: 190 / 27

Going ahead to step 6:
If we divide 190 by 27, we get 7 and a remainder of 1.
Write down 7 as next digit of the result. 
Result so far: 18747.0
Deduct 189 from 190 and we're left with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Advancing to step 7:
When dividing 10 by 27, we get 0 with a remainder of 10.
Write down 0 as next digit of the result. 
Result so far: 18747.0
Subtracting 0 from 10 leaves us with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Going ahead to step 8:
When dividing 100 by 27, we get 3 with a remainder of 19.
Write down 3 as next digit of the result. 
Result so far: 18747.03
The remainder is 19 after subtracting 81 from 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

On to step 9:
27 goes into 190 7 times with a remainder of 1.
Record the quotient 7 as the next digit in the result. 
Result so far: 18747.037
Subtracting 189 from 190 leaves us with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Going ahead to step 10:
27 can be fit into 10 0 times, resulting in a remainder of 10.
The next digit of our result is 0. 
Result so far: 18747.037
If we take 0 away from 10, we end up with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Moving on to step 11:
If we divide 100 by 27, we get 3 and a remainder of 19.
Use 3 as the next digit of our solution. 
Result so far: 18747.03703
If we take 81 away from 100, we end up with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Moving on to step 12:
27 can be fit into 190 7 times, resulting in a remainder of 1.
Write down 7 as next digit of the result. 
Result so far: 18747.037037
Deduct 189 from 190 and we're left with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Moving on to step 13:
10 divided by 27 is 0 with a remainder of 10.
Put 0 as the next digit of the answer. 
Result so far: 18747.037037
Deduct 0 from 10 and we're left with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Advancing to step 14:
27 can be fit into 100 3 times, resulting in a remainder of 19.
Write down 3 as next digit of the result. 
Result so far: 18747.03703703
Subtract 81 from 100 to get 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

The final result is 18747.03703703 with a remainder of 1.9e-08.