7040759 divided by 787 
Let's see how many times 787 fits into 7040759.

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

Moving on to step 2:
The number 787 fits into 70 0 times, leaving a remainder of 70.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 70 to get 70.
Take the next digit (4) from the dividend and append it to 70, then repeat: 704 / 787

Let's proceed to step 3:
787 goes into 704 0 times with a remainder of 704.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 704, we end up with 704.
Fetch the next digit (0) from the dividend, attach it to 704 and continue: 7040 / 787

On to step 4:
When dividing 7040 by 787, we get 8 with a remainder of 744.
The next digit of our result is 8. 
Result so far: 8.0
Subtract 6296 from 7040 to get 744.
Include the next digit (7) from the dividend after 744, then repeat: 7447 / 787

Let's proceed to step 5:
If we divide 7447 by 787, we get 9 and a remainder of 364.
Write down 9 as next digit of the result. 
Result so far: 89.0
If we subtract 7083 from 7447, we get 364.
Fetch the next digit (5) from the dividend, attach it to 364 and continue: 3645 / 787

Advancing to step 6:
The number 787 fits into 3645 4 times, leaving a remainder of 497.
The next digit of our result is 4. 
Result so far: 894.0
Subtract 3148 from 3645 to get 497.
Grab the next digit (9) from the dividend, add it to 497, then carry on: 4979 / 787

Advancing to step 7:
787 can be fit into 4979 6 times, resulting in a remainder of 257.
Put 6 as the next digit of the answer. 
Result so far: 8946.0
Deduct 4722 from 4979 and we're left with 257.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2570, and continue the process.

Step 8:
When dividing 2570 by 787, we get 3 with a remainder of 209.
Write down 3 as next digit of the result. 
Result so far: 8946.3
Subtracting 2361 from 2570 leaves us with 209.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2090, and continue the process.

On to step 9:
When dividing 2090 by 787, we get 2 with a remainder of 516.
Write down 2 as next digit of the result. 
Result so far: 8946.32
If we subtract 1574 from 2090, we get 516.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5160, and continue the process.

On to step 10:
787 can be fit into 5160 6 times, resulting in a remainder of 438.
Put 6 as the next digit of the answer. 
Result so far: 8946.326
The remainder is 438 after subtracting 4722 from 5160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4380, and continue the process.

On to step 11:
4380 divided by 787 is 5 with a remainder of 445.
Use 5 as the next digit of our solution. 
Result so far: 8946.3265
Subtract 3935 from 4380 to get 445.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4450, and continue the process.

Moving on to step 12:
If we divide 4450 by 787, we get 5 and a remainder of 515.
Use 5 as the next digit of our solution. 
Result so far: 8946.32655
If we subtract 3935 from 4450, we get 515.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5150, and continue the process.

In conclusion, the division gives 8946.32655 with a balance of 0.000515.