Let's divide 40678346 by 783
We want to divide 40678346 by 783.

On to step 1:
4 divided by 783 is 0 with a remainder of 4.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 4 after subtracting 0 from 4.
Include the next digit (0) from the dividend after 4, then repeat: 40 / 783

Moving on to step 2:
40 divided by 783 is 0 with a remainder of 40.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 40 to get 40.
Append the next digit (6) from the dividend to 40 and continue with: 406 / 783

Going ahead to step 3:
When dividing 406 by 783, we get 0 with a remainder of 406.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 406 and we're left with 406.
Take the next digit (7) from the dividend and append it to 406, then repeat: 4067 / 783

Advancing to step 4:
The number 783 fits into 4067 5 times, leaving a remainder of 152.
Use 5 as the next digit of our solution. 
Result so far: 5.0
If we subtract 3915 from 4067, we get 152.
Append the next digit (8) from the dividend to 152 and continue with: 1528 / 783

Let's proceed to step 5:
When dividing 1528 by 783, we get 1 with a remainder of 745.
Use 1 as the next digit of our solution. 
Result so far: 51.0
The remainder is 745 after subtracting 783 from 1528.
Append the next digit (3) from the dividend to 745 and continue with: 7453 / 783

Moving on to step 6:
The number 783 fits into 7453 9 times, leaving a remainder of 406.
Record the quotient 9 as the next digit in the result. 
Result so far: 519.0
Deduct 7047 from 7453 and we're left with 406.
Fetch the next digit (4) from the dividend, attach it to 406 and continue: 4064 / 783

Advancing to step 7:
If we divide 4064 by 783, we get 5 and a remainder of 149.
The number 5 becomes the next digit in our result. 
Result so far: 5195.0
Subtract 3915 from 4064 to get 149.
Include the next digit (6) from the dividend after 149, then repeat: 1496 / 783

Step 8:
783 can be fit into 1496 1 times, resulting in a remainder of 713.
The next digit of our result is 1. 
Result so far: 51951.0
Subtracting 783 from 1496 leaves us with 713.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7130, and continue the process.

Step 9:
If we divide 7130 by 783, we get 9 and a remainder of 83.
Use 9 as the next digit of our solution. 
Result so far: 51951.9
The remainder is 83 after subtracting 7047 from 7130.
Since there are no more digits in the dividend, we add a zero to the remainder making it 830, and continue the process.

Step 10:
783 can be fit into 830 1 times, resulting in a remainder of 47.
Put 1 as the next digit of the answer. 
Result so far: 51951.91
Subtracting 783 from 830 leaves us with 47.
Since there are no more digits in the dividend, we add a zero to the remainder making it 470, and continue the process.

Step 11:
470 divided by 783 is 0 with a remainder of 470.
Use 0 as the next digit of our solution. 
Result so far: 51951.91
If we subtract 0 from 470, we get 470.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4700, and continue the process.

Moving on to step 12:
783 goes into 4700 6 times with a remainder of 2.
Use 6 as the next digit of our solution. 
Result so far: 51951.9106
If we subtract 4698 from 4700, we get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Moving on to step 13:
783 goes into 20 0 times with a remainder of 20.
The next digit of our result is 0. 
Result so far: 51951.9106
Subtracting 0 from 20 leaves us with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Step 14:
783 goes into 200 0 times with a remainder of 200.
The number 0 becomes the next digit in our result. 
Result so far: 51951.9106
The remainder is 200 after subtracting 0 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2000, and continue the process.

The quotient of the division is 51951.9106, and the remainder is 2e-05.