We're dividing 40330760 by 788 
Let's see how many times 788 fits into 40330760.

On to step 1:
The number 788 fits into 4 0 times, leaving a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Take the next digit (0) from the dividend and append it to 4, then repeat: 40 / 788

On to step 2:
788 can be fit into 40 0 times, resulting in a remainder of 40.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 40, we end up with 40.
Take the next digit (3) from the dividend and append it to 40, then repeat: 403 / 788

On to step 3:
If we divide 403 by 788, we get 0 and a remainder of 403.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 403, we get 403.
Bring next digit (3) of the dividend behind the 403 and repeat the process: 4033 / 788

Advancing to step 4:
788 can be fit into 4033 5 times, resulting in a remainder of 93.
The number 5 becomes the next digit in our result. 
Result so far: 5.0
If we take 3940 away from 4033, we end up with 93.
Include the next digit (0) from the dividend after 93, then repeat: 930 / 788

Advancing to step 5:
788 can be fit into 930 1 times, resulting in a remainder of 142.
The number 1 becomes the next digit in our result. 
Result so far: 51.0
If we subtract 788 from 930, we get 142.
Take the next digit (7) from the dividend and append it to 142, then repeat: 1427 / 788

Advancing to step 6:
788 goes into 1427 1 times with a remainder of 639.
The next digit of our result is 1. 
Result so far: 511.0
Deduct 788 from 1427 and we're left with 639.
Grab the next digit (6) from the dividend, add it to 639, then carry on: 6396 / 788

Going ahead to step 7:
6396 divided by 788 is 8 with a remainder of 92.
Record the quotient 8 as the next digit in the result. 
Result so far: 5118.0
If we subtract 6304 from 6396, we get 92.
Append the next digit (0) from the dividend to 92 and continue with: 920 / 788

Step 8:
The number 788 fits into 920 1 times, leaving a remainder of 132.
Use 1 as the next digit of our solution. 
Result so far: 51181.0
If we subtract 788 from 920, we get 132.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1320, and continue the process.

On to step 9:
788 can be fit into 1320 1 times, resulting in a remainder of 532.
The number 1 becomes the next digit in our result. 
Result so far: 51181.1
Subtracting 788 from 1320 leaves us with 532.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5320, and continue the process.

Moving on to step 10:
788 goes into 5320 6 times with a remainder of 592.
The next digit of our result is 6. 
Result so far: 51181.16
The remainder is 592 after subtracting 4728 from 5320.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5920, and continue the process.

Let's proceed to step 11:
When dividing 5920 by 788, we get 7 with a remainder of 404.
The number 7 becomes the next digit in our result. 
Result so far: 51181.167
If we take 5516 away from 5920, we end up with 404.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4040, and continue the process.

Going ahead to step 12:
If we divide 4040 by 788, we get 5 and a remainder of 100.
Write down 5 as next digit of the result. 
Result so far: 51181.1675
If we take 3940 away from 4040, we end up with 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1000, and continue the process.

On to step 13:
1000 divided by 788 is 1 with a remainder of 212.
Put 1 as the next digit of the answer. 
Result so far: 51181.16751
Subtract 788 from 1000 to get 212.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2120, and continue the process.

On to step 14:
When dividing 2120 by 788, we get 2 with a remainder of 544.
The number 2 becomes the next digit in our result. 
Result so far: 51181.167512
Deduct 1576 from 2120 and we're left with 544.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5440, and continue the process.

Advancing to step 15:
5440 divided by 788 is 6 with a remainder of 712.
The number 6 becomes the next digit in our result. 
Result so far: 51181.1675126
Subtract 4728 from 5440 to get 712.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7120, and continue the process.

Going ahead to step 16:
7120 divided by 788 is 9 with a remainder of 28.
Use 9 as the next digit of our solution. 
Result so far: 51181.16751269
If we take 7092 away from 7120, we end up with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

The quotient of the division is 51181.16751269, and the remainder is 2.8e-08.