We're dividing 87145 by 9 
Our goal is to divide 87145 by 9.

Advancing to step 1:
9 goes into 8 0 times with a remainder of 8.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 8, we get 8.
Fetch the next digit (7) from the dividend, attach it to 8 and continue: 87 / 9

Moving on to step 2:
9 goes into 87 9 times with a remainder of 6.
Use 9 as the next digit of our solution. 
Result so far: 9.0
Subtract 81 from 87 to get 6.
Take the next digit (1) from the dividend and append it to 6, then repeat: 61 / 9

On to step 3:
The number 9 fits into 61 6 times, leaving a remainder of 7.
The next digit of our result is 6. 
Result so far: 96.0
Deduct 54 from 61 and we're left with 7.
Grab the next digit (4) from the dividend, add it to 7, then carry on: 74 / 9

Step 4:
9 goes into 74 8 times with a remainder of 2.
The number 8 becomes the next digit in our result. 
Result so far: 968.0
If we take 72 away from 74, we end up with 2.
Bring next digit (5) of the dividend behind the 2 and repeat the process: 25 / 9

Step 5:
9 can be fit into 25 2 times, resulting in a remainder of 7.
The next digit of our result is 2. 
Result so far: 9682.0
The remainder is 7 after subtracting 18 from 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Moving on to step 6:
70 divided by 9 is 7 with a remainder of 7.
Put 7 as the next digit of the answer. 
Result so far: 9682.7
If we take 63 away from 70, we end up with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Let's proceed to step 7:
The number 9 fits into 70 7 times, leaving a remainder of 7.
The number 7 becomes the next digit in our result. 
Result so far: 9682.77
Subtracting 63 from 70 leaves us with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Our division results in 9682.77 with a remaining 0.007.