We look at the division of 87149159 by 628 
We want to divide 87149159 by 628.

Let's proceed to step 1:
8 divided by 628 is 0 with a remainder of 8.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 8, we get 8.
Take the next digit (7) from the dividend and append it to 8, then repeat: 87 / 628

On to step 2:
87 divided by 628 is 0 with a remainder of 87.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 87, we end up with 87.
Append the next digit (1) from the dividend to 87 and continue with: 871 / 628

Moving on to step 3:
871 divided by 628 is 1 with a remainder of 243.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Subtracting 628 from 871 leaves us with 243.
Grab the next digit (4) from the dividend, add it to 243, then carry on: 2434 / 628

On to step 4:
The number 628 fits into 2434 3 times, leaving a remainder of 550.
The number 3 becomes the next digit in our result. 
Result so far: 13.0
If we subtract 1884 from 2434, we get 550.
Bring next digit (9) of the dividend behind the 550 and repeat the process: 5509 / 628

Moving on to step 5:
When dividing 5509 by 628, we get 8 with a remainder of 485.
Put 8 as the next digit of the answer. 
Result so far: 138.0
The remainder is 485 after subtracting 5024 from 5509.
Append the next digit (1) from the dividend to 485 and continue with: 4851 / 628

Let's proceed to step 6:
The number 628 fits into 4851 7 times, leaving a remainder of 455.
Use 7 as the next digit of our solution. 
Result so far: 1387.0
Subtracting 4396 from 4851 leaves us with 455.
Bring next digit (5) of the dividend behind the 455 and repeat the process: 4555 / 628

Going ahead to step 7:
The number 628 fits into 4555 7 times, leaving a remainder of 159.
Write down 7 as next digit of the result. 
Result so far: 13877.0
Subtracting 4396 from 4555 leaves us with 159.
Grab the next digit (9) from the dividend, add it to 159, then carry on: 1599 / 628

Advancing to step 8:
When dividing 1599 by 628, we get 2 with a remainder of 343.
Record the quotient 2 as the next digit in the result. 
Result so far: 138772.0
Subtracting 1256 from 1599 leaves us with 343.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3430, and continue the process.

Step 9:
628 can be fit into 3430 5 times, resulting in a remainder of 290.
Use 5 as the next digit of our solution. 
Result so far: 138772.5
Deduct 3140 from 3430 and we're left with 290.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2900, and continue the process.

Moving on to step 10:
If we divide 2900 by 628, we get 4 and a remainder of 388.
Use 4 as the next digit of our solution. 
Result so far: 138772.54
Subtracting 2512 from 2900 leaves us with 388.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3880, and continue the process.

Advancing to step 11:
When dividing 3880 by 628, we get 6 with a remainder of 112.
Use 6 as the next digit of our solution. 
Result so far: 138772.546
The remainder is 112 after subtracting 3768 from 3880.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1120, and continue the process.

Step 12:
When dividing 1120 by 628, we get 1 with a remainder of 492.
Put 1 as the next digit of the answer. 
Result so far: 138772.5461
Deduct 628 from 1120 and we're left with 492.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4920, and continue the process.

Advancing to step 13:
If we divide 4920 by 628, we get 7 and a remainder of 524.
Record the quotient 7 as the next digit in the result. 
Result so far: 138772.54617
The remainder is 524 after subtracting 4396 from 4920.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5240, and continue the process.

Going ahead to step 14:
628 can be fit into 5240 8 times, resulting in a remainder of 216.
The number 8 becomes the next digit in our result. 
Result so far: 138772.546178
If we subtract 5024 from 5240, we get 216.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2160, and continue the process.

Advancing to step 15:
628 can be fit into 2160 3 times, resulting in a remainder of 276.
Record the quotient 3 as the next digit in the result. 
Result so far: 138772.5461783
If we take 1884 away from 2160, we end up with 276.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2760, and continue the process.

Advancing to step 16:
628 goes into 2760 4 times with a remainder of 248.
Record the quotient 4 as the next digit in the result. 
Result so far: 138772.54617834
If we subtract 2512 from 2760, we get 248.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2480, and continue the process.

In conclusion, the division gives 138772.54617834 with a balance of 2.48e-07.