We divide 158164 by 687
Our goal is to divide 158164 by 687.

On to step 1:
If we divide 1 by 687, we get 0 and a remainder of 1.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 1, we get 1.
Bring next digit (5) of the dividend behind the 1 and repeat the process: 15 / 687

On to step 2:
687 can be fit into 15 0 times, resulting in a remainder of 15.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 15, we get 15.
Append the next digit (8) from the dividend to 15 and continue with: 158 / 687

Moving on to step 3:
When dividing 158 by 687, we get 0 with a remainder of 158.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 158 after subtracting 0 from 158.
Bring next digit (1) of the dividend behind the 158 and repeat the process: 1581 / 687

On to step 4:
687 goes into 1581 2 times with a remainder of 207.
Write down 2 as next digit of the result. 
Result so far: 2.0
Deduct 1374 from 1581 and we're left with 207.
Append the next digit (6) from the dividend to 207 and continue with: 2076 / 687

Step 5:
The number 687 fits into 2076 3 times, leaving a remainder of 15.
The number 3 becomes the next digit in our result. 
Result so far: 23.0
If we take 2061 away from 2076, we end up with 15.
Fetch the next digit (4) from the dividend, attach it to 15 and continue: 154 / 687

Advancing to step 6:
687 can be fit into 154 0 times, resulting in a remainder of 154.
Use 0 as the next digit of our solution. 
Result so far: 230.0
Subtract 0 from 154 to get 154.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1540, and continue the process.

Going ahead to step 7:
687 goes into 1540 2 times with a remainder of 166.
Put 2 as the next digit of the answer. 
Result so far: 230.2
Subtract 1374 from 1540 to get 166.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1660, and continue the process.

On to step 8:
687 goes into 1660 2 times with a remainder of 286.
Use 2 as the next digit of our solution. 
Result so far: 230.22
Subtract 1374 from 1660 to get 286.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2860, and continue the process.

The final result is 230.22 with a remainder of 0.286.