We're dividing 12565128 by 788 
We want to figure out the number of times 12565128 can be divided by 788.

Step 1:
If we divide 1 by 788, we get 0 and a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 1 after subtracting 0 from 1.
Append the next digit (2) from the dividend to 1 and continue with: 12 / 788

Step 2:
788 can be fit into 12 0 times, resulting in a remainder of 12.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 12 and we're left with 12.
Grab the next digit (5) from the dividend, add it to 12, then carry on: 125 / 788

Let's proceed to step 3:
125 divided by 788 is 0 with a remainder of 125.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 125, we end up with 125.
Append the next digit (6) from the dividend to 125 and continue with: 1256 / 788

Moving on to step 4:
The number 788 fits into 1256 1 times, leaving a remainder of 468.
Write down 1 as next digit of the result. 
Result so far: 1.0
The remainder is 468 after subtracting 788 from 1256.
Append the next digit (5) from the dividend to 468 and continue with: 4685 / 788

On to step 5:
If we divide 4685 by 788, we get 5 and a remainder of 745.
Use 5 as the next digit of our solution. 
Result so far: 15.0
If we subtract 3940 from 4685, we get 745.
Append the next digit (1) from the dividend to 745 and continue with: 7451 / 788

Advancing to step 6:
788 goes into 7451 9 times with a remainder of 359.
Record the quotient 9 as the next digit in the result. 
Result so far: 159.0
Subtracting 7092 from 7451 leaves us with 359.
Bring next digit (2) of the dividend behind the 359 and repeat the process: 3592 / 788

Step 7:
3592 divided by 788 is 4 with a remainder of 440.
Write down 4 as next digit of the result. 
Result so far: 1594.0
If we take 3152 away from 3592, we end up with 440.
Grab the next digit (8) from the dividend, add it to 440, then carry on: 4408 / 788

On to step 8:
When dividing 4408 by 788, we get 5 with a remainder of 468.
Record the quotient 5 as the next digit in the result. 
Result so far: 15945.0
If we take 3940 away from 4408, we end up with 468.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4680, and continue the process.

Going ahead to step 9:
788 can be fit into 4680 5 times, resulting in a remainder of 740.
The number 5 becomes the next digit in our result. 
Result so far: 15945.5
If we subtract 3940 from 4680, we get 740.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7400, and continue the process.

Let's proceed to step 10:
When dividing 7400 by 788, we get 9 with a remainder of 308.
Use 9 as the next digit of our solution. 
Result so far: 15945.59
If we take 7092 away from 7400, we end up with 308.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3080, and continue the process.

Going ahead to step 11:
The number 788 fits into 3080 3 times, leaving a remainder of 716.
Record the quotient 3 as the next digit in the result. 
Result so far: 15945.593
If we take 2364 away from 3080, we end up with 716.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7160, and continue the process.

Advancing to step 12:
If we divide 7160 by 788, we get 9 and a remainder of 68.
Write down 9 as next digit of the result. 
Result so far: 15945.5939
Deduct 7092 from 7160 and we're left with 68.
Since there are no more digits in the dividend, we add a zero to the remainder making it 680, and continue the process.

Let's proceed to step 13:
788 can be fit into 680 0 times, resulting in a remainder of 680.
Record the quotient 0 as the next digit in the result. 
Result so far: 15945.5939
Subtracting 0 from 680 leaves us with 680.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6800, and continue the process.

Advancing to step 14:
788 goes into 6800 8 times with a remainder of 496.
Write down 8 as next digit of the result. 
Result so far: 15945.593908
If we take 6304 away from 6800, we end up with 496.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4960, and continue the process.

Moving on to step 15:
If we divide 4960 by 788, we get 6 and a remainder of 232.
Use 6 as the next digit of our solution. 
Result so far: 15945.5939086
If we take 4728 away from 4960, we end up with 232.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2320, and continue the process.

Step 16:
If we divide 2320 by 788, we get 2 and a remainder of 744.
Put 2 as the next digit of the answer. 
Result so far: 15945.59390862
Subtracting 1576 from 2320 leaves us with 744.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7440, and continue the process.

The final result is 15945.59390862 with a remainder of 7.44e-07.