We're dividing 138267 by 87 
We want to divide 138267 by 87.

Advancing to step 1:
87 can be fit into 1 0 times, resulting in a remainder of 1.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 1 to get 1.
Include the next digit (3) from the dividend after 1, then repeat: 13 / 87

Let's proceed to step 2:
If we divide 13 by 87, we get 0 and a remainder of 13.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 13 and we're left with 13.
Bring next digit (8) of the dividend behind the 13 and repeat the process: 138 / 87

Going ahead to step 3:
When dividing 138 by 87, we get 1 with a remainder of 51.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Deduct 87 from 138 and we're left with 51.
Take the next digit (2) from the dividend and append it to 51, then repeat: 512 / 87

Moving on to step 4:
When dividing 512 by 87, we get 5 with a remainder of 77.
The number 5 becomes the next digit in our result. 
Result so far: 15.0
If we take 435 away from 512, we end up with 77.
Bring next digit (6) of the dividend behind the 77 and repeat the process: 776 / 87

Going ahead to step 5:
776 divided by 87 is 8 with a remainder of 80.
The number 8 becomes the next digit in our result. 
Result so far: 158.0
Subtract 696 from 776 to get 80.
Include the next digit (7) from the dividend after 80, then repeat: 807 / 87

Let's proceed to step 6:
If we divide 807 by 87, we get 9 and a remainder of 24.
Put 9 as the next digit of the answer. 
Result so far: 1589.0
The remainder is 24 after subtracting 783 from 807.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Going ahead to step 7:
240 divided by 87 is 2 with a remainder of 66.
Write down 2 as next digit of the result. 
Result so far: 1589.2
Subtracting 174 from 240 leaves us with 66.
Since there are no more digits in the dividend, we add a zero to the remainder making it 660, and continue the process.

Let's proceed to step 8:
The number 87 fits into 660 7 times, leaving a remainder of 51.
Record the quotient 7 as the next digit in the result. 
Result so far: 1589.27
Subtract 609 from 660 to get 51.
Since there are no more digits in the dividend, we add a zero to the remainder making it 510, and continue the process.

Moving on to step 9:
510 divided by 87 is 5 with a remainder of 75.
The number 5 becomes the next digit in our result. 
Result so far: 1589.275
If we subtract 435 from 510, we get 75.
Since there are no more digits in the dividend, we add a zero to the remainder making it 750, and continue the process.

Moving on to step 10:
When dividing 750 by 87, we get 8 with a remainder of 54.
Use 8 as the next digit of our solution. 
Result so far: 1589.2758
Subtracting 696 from 750 leaves us with 54.
Since there are no more digits in the dividend, we add a zero to the remainder making it 540, and continue the process.

Moving on to step 11:
If we divide 540 by 87, we get 6 and a remainder of 18.
Put 6 as the next digit of the answer. 
Result so far: 1589.27586
Subtracting 522 from 540 leaves us with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Advancing to step 12:
87 can be fit into 180 2 times, resulting in a remainder of 6.
The next digit of our result is 2. 
Result so far: 1589.275862
Deduct 174 from 180 and we're left 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.

Let's proceed to step 13:
87 can be fit into 60 0 times, resulting in a remainder of 60.
Put 0 as the next digit of the answer. 
Result so far: 1589.275862
Deduct 0 from 60 and we're left with 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 600, and continue the process.

Advancing to step 14:
If we divide 600 by 87, we get 6 and a remainder of 78.
Record the quotient 6 as the next digit in the result. 
Result so far: 1589.27586206
Deduct 522 from 600 and we're left with 78.
Since there are no more digits in the dividend, we add a zero to the remainder making it 780, and continue the process.

In conclusion, the division gives 1589.27586206 with a balance of 7.8e-08.