31250000 ÷ 788 
We want to divide 31250000 by 788.

On to step 1:
788 can be fit into 3 0 times, resulting in a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Grab the next digit (1) from the dividend, add it to 3, then carry on: 31 / 788

Moving on to step 2:
31 divided by 788 is 0 with a remainder of 31.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 31 leaves us with 31.
Grab the next digit (2) from the dividend, add it to 31, then carry on: 312 / 788

Moving on to step 3:
If we divide 312 by 788, we get 0 and a remainder of 312.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 312 leaves us with 312.
Grab the next digit (5) from the dividend, add it to 312, then carry on: 3125 / 788

Moving on to step 4:
The number 788 fits into 3125 3 times, leaving a remainder of 761.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
Subtract 2364 from 3125 to get 761.
Include the next digit (0) from the dividend after 761, then repeat: 7610 / 788

Moving on to step 5:
788 can be fit into 7610 9 times, resulting in a remainder of 518.
The number 9 becomes the next digit in our result. 
Result so far: 39.0
If we take 7092 away from 7610, we end up with 518.
Take the next digit (0) from the dividend and append it to 518, then repeat: 5180 / 788

On to step 6:
If we divide 5180 by 788, we get 6 and a remainder of 452.
Put 6 as the next digit of the answer. 
Result so far: 396.0
Deduct 4728 from 5180 and we're left with 452.
Take the next digit (0) from the dividend and append it to 452, then repeat: 4520 / 788

On to step 7:
788 can be fit into 4520 5 times, resulting in a remainder of 580.
Record the quotient 5 as the next digit in the result. 
Result so far: 3965.0
Deduct 3940 from 4520 and we're left with 580.
Take the next digit (0) from the dividend and append it to 580, then repeat: 5800 / 788

Let's proceed to step 8:
5800 divided by 788 is 7 with a remainder of 284.
Record the quotient 7 as the next digit in the result. 
Result so far: 39657.0
If we take 5516 away from 5800, we end up with 284.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2840, and continue the process.

Let's proceed to step 9:
788 can be fit into 2840 3 times, resulting in a remainder of 476.
The next digit of our result is 3. 
Result so far: 39657.3
The remainder is 476 after subtracting 2364 from 2840.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4760, and continue the process.

Let's proceed to step 10:
The number 788 fits into 4760 6 times, leaving a remainder of 32.
Put 6 as the next digit of the answer. 
Result so far: 39657.36
If we take 4728 away from 4760, we end up with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Step 11:
If we divide 320 by 788, we get 0 and a remainder of 320.
The next digit of our result is 0. 
Result so far: 39657.36
Subtracting 0 from 320 leaves us with 320.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3200, and continue the process.

On to step 12:
788 goes into 3200 4 times with a remainder of 48.
Record the quotient 4 as the next digit in the result. 
Result so far: 39657.3604
Subtracting 3152 from 3200 leaves us with 48.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

Moving on to step 13:
788 goes into 480 0 times with a remainder of 480.
The number 0 becomes the next digit in our result. 
Result so far: 39657.3604
The remainder is 480 after subtracting 0 from 480.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4800, and continue the process.

Moving on to step 14:
4800 divided by 788 is 6 with a remainder of 72.
The number 6 becomes the next digit in our result. 
Result so far: 39657.360406
The remainder is 72 after subtracting 4728 from 4800.
Since there are no more digits in the dividend, we add a zero to the remainder making it 720, and continue the process.

Let's proceed to step 15:
If we divide 720 by 788, we get 0 and a remainder of 720.
Put 0 as the next digit of the answer. 
Result so far: 39657.360406
Subtract 0 from 720 to get 720.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7200, and continue the process.

Moving on to step 16:
If we divide 7200 by 788, we get 9 and a remainder of 108.
Record the quotient 9 as the next digit in the result. 
Result so far: 39657.36040609
Subtracting 7092 from 7200 leaves us with 108.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1080, and continue the process.

After the division, we end up with 39657.36040609 and a remainder of 1.08e-07.