170987 divided by 22 
Let's see how many times 22 fits into 170987.

On to step 1:
22 can be fit into 1 0 times, resulting in a remainder of 1.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 1, we end up with 1.
Grab the next digit (7) from the dividend, add it to 1, then carry on: 17 / 22

Advancing to step 2:
When dividing 17 by 22, we get 0 with a remainder of 17.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 17 and we're left with 17.
Bring next digit (0) of the dividend behind the 17 and repeat the process: 170 / 22

Let's proceed to step 3:
22 can be fit into 170 7 times, resulting in a remainder of 16.
Use 7 as the next digit of our solution. 
Result so far: 7.0
The remainder is 16 after subtracting 154 from 170.
Include the next digit (9) from the dividend after 16, then repeat: 169 / 22

Step 4:
If we divide 169 by 22, we get 7 and a remainder of 15.
The number 7 becomes the next digit in our result. 
Result so far: 77.0
The remainder is 15 after subtracting 154 from 169.
Take the next digit (8) from the dividend and append it to 15, then repeat: 158 / 22

On to step 5:
When dividing 158 by 22, we get 7 with a remainder of 4.
Record the quotient 7 as the next digit in the result. 
Result so far: 777.0
Subtract 154 from 158 to get 4.
Bring next digit (7) of the dividend behind the 4 and repeat the process: 47 / 22

On to step 6:
If we divide 47 by 22, we get 2 and a remainder of 3.
The next digit of our result is 2. 
Result so far: 7772.0
Deduct 44 from 47 and we're left with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Advancing to step 7:
30 divided by 22 is 1 with a remainder of 8.
Write down 1 as next digit of the result. 
Result so far: 7772.1
If we subtract 22 from 30, 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.

Step 8:
The number 22 fits into 80 3 times, leaving a remainder of 14.
Put 3 as the next digit of the answer. 
Result so far: 7772.13
Deduct 66 from 80 and we're left with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Let's proceed to step 9:
140 divided by 22 is 6 with a remainder of 8.
Write down 6 as next digit of the result. 
Result so far: 7772.136
The remainder is 8 after subtracting 132 from 140.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Step 10:
The number 22 fits into 80 3 times, leaving a remainder of 14.
Put 3 as the next digit of the answer. 
Result so far: 7772.1363
Deduct 66 from 80 and we're left with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Advancing to step 11:
22 can be fit into 140 6 times, resulting in a remainder of 8.
The next digit of our result is 6. 
Result so far: 7772.13636
If we subtract 132 from 140, 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.

Let's proceed to step 12:
22 goes into 80 3 times with a remainder of 14.
Write down 3 as next digit of the result. 
Result so far: 7772.136363
If we take 66 away from 80, we end up with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Advancing to step 13:
The number 22 fits into 140 6 times, leaving a remainder of 8.
Use 6 as the next digit of our solution. 
Result so far: 7772.1363636
If we take 132 away from 140, 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.

Let's proceed to step 14:
The number 22 fits into 80 3 times, leaving a remainder of 14.
Write down 3 as next digit of the result. 
Result so far: 7772.13636363
Subtract 66 from 80 to get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

In conclusion, the division gives 7772.13636363 with a balance of 1.4e-08.