We divide 170870 by 8
Let's see how many times 8 fits into 170870.

Let's proceed to step 1:
When dividing 1 by 8, we get 0 with a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 1 to get 1.
Append the next digit (7) from the dividend to 1 and continue with: 17 / 8

Advancing to step 2:
When dividing 17 by 8, we get 2 with a remainder of 1.
Put 2 as the next digit of the answer. 
Result so far: 2.0
Deduct 16 from 17 and we're left with 1.
Bring next digit (0) of the dividend behind the 1 and repeat the process: 10 / 8

Let's proceed to step 3:
8 can be fit into 10 1 times, resulting in a remainder of 2.
Use 1 as the next digit of our solution. 
Result so far: 21.0
Subtracting 8 from 10 leaves us with 2.
Fetch the next digit (8) from the dividend, attach it to 2 and continue: 28 / 8

Going ahead to step 4:
The number 8 fits into 28 3 times, leaving a remainder of 4.
Write down 3 as next digit of the result. 
Result so far: 213.0
The remainder is 4 after subtracting 24 from 28.
Include the next digit (7) from the dividend after 4, then repeat: 47 / 8

Going ahead to step 5:
If we divide 47 by 8, we get 5 and a remainder of 7.
The number 5 becomes the next digit in our result. 
Result so far: 2135.0
Subtracting 40 from 47 leaves us with 7.
Append the next digit (0) from the dividend to 7 and continue with: 70 / 8

On to step 6:
8 can be fit into 70 8 times, resulting in a remainder of 6.
The number 8 becomes the next digit in our result. 
Result so far: 21358.0
If we take 64 away from 70, we end up with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Moving on to step 7:
When dividing 60 by 8, we get 7 with a remainder of 4.
Record the quotient 7 as the next digit in the result. 
Result so far: 21358.7
Subtract 56 from 60 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Advancing to step 8:
The number 8 fits into 40 5 times, leaving a remainder of 0.
The next digit of our result is 5. 
Result so far: 21358.75
Subtract 40 from 40 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Advancing to step 9:
8 can be fit into 0 0 times, resulting in a remainder of 0.
The next digit of our result is 0. 
Result so far: 21358.75
Subtracting 0 from 0 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

On to step 10:
0 divided by 8 is 0 with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 21358.75
Deduct 0 from 0 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

After the division, we end up with 21358.75 and a remainder of 0.0.