987865 divided by 36 
Let's see how many times 36 fits into 987865.

Moving on to step 1:
When dividing 9 by 36, we get 0 with a remainder of 9.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 9 after subtracting 0 from 9.
Take the next digit (8) from the dividend and append it to 9, then repeat: 98 / 36

Step 2:
98 divided by 36 is 2 with a remainder of 26.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
The remainder is 26 after subtracting 72 from 98.
Take the next digit (7) from the dividend and append it to 26, then repeat: 267 / 36

On to step 3:
When dividing 267 by 36, we get 7 with a remainder of 15.
The number 7 becomes the next digit in our result. 
Result so far: 27.0
Subtracting 252 from 267 leaves us with 15.
Append the next digit (8) from the dividend to 15 and continue with: 158 / 36

On to step 4:
36 can be fit into 158 4 times, resulting in a remainder of 14.
Put 4 as the next digit of the answer. 
Result so far: 274.0
Subtract 144 from 158 to get 14.
Append the next digit (6) from the dividend to 14 and continue with: 146 / 36

On to step 5:
When dividing 146 by 36, we get 4 with a remainder of 2.
Write down 4 as next digit of the result. 
Result so far: 2744.0
Subtract 144 from 146 to get 2.
Append the next digit (5) from the dividend to 2 and continue with: 25 / 36

Going ahead to step 6:
36 can be fit into 25 0 times, resulting in a remainder of 25.
Write down 0 as next digit of the result. 
Result so far: 27440.0
If we take 0 away from 25, we end up with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Moving on to step 7:
250 divided by 36 is 6 with a remainder of 34.
The next digit of our result is 6. 
Result so far: 27440.6
Deduct 216 from 250 and we're left with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

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

Step 9:
When dividing 160 by 36, we get 4 with a remainder of 16.
Record the quotient 4 as the next digit in the result. 
Result so far: 27440.694
Subtract 144 from 160 to get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Going ahead to step 10:
36 goes into 160 4 times with a remainder of 16.
Use 4 as the next digit of our solution. 
Result so far: 27440.6944
Subtracting 144 from 160 leaves us with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

The final result is 27440.6944 with a remainder of 0.00016.