40379062 divided by 804 
We want to figure out the number of times 40379062 can be divided by 804.

Step 1:
When dividing 4 by 804, we get 0 with a remainder of 4.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Fetch the next digit (0) from the dividend, attach it to 4 and continue: 40 / 804

Going ahead to step 2:
The number 804 fits into 40 0 times, leaving a remainder of 40.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 40, we get 40.
Include the next digit (3) from the dividend after 40, then repeat: 403 / 804

On to step 3:
The number 804 fits into 403 0 times, leaving 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.
Fetch the next digit (7) from the dividend, attach it to 403 and continue: 4037 / 804

Advancing to step 4:
804 goes into 4037 5 times with a remainder of 17.
Write down 5 as next digit of the result. 
Result so far: 5.0
Subtract 4020 from 4037 to get 17.
Bring next digit (9) of the dividend behind the 17 and repeat the process: 179 / 804

Going ahead to step 5:
The number 804 fits into 179 0 times, leaving a remainder of 179.
Write down 0 as next digit of the result. 
Result so far: 50.0
The remainder is 179 after subtracting 0 from 179.
Grab the next digit (0) from the dividend, add it to 179, then carry on: 1790 / 804

Let's proceed to step 6:
When dividing 1790 by 804, we get 2 with a remainder of 182.
Record the quotient 2 as the next digit in the result. 
Result so far: 502.0
If we subtract 1608 from 1790, we get 182.
Bring next digit (6) of the dividend behind the 182 and repeat the process: 1826 / 804

Let's proceed to step 7:
The number 804 fits into 1826 2 times, leaving a remainder of 218.
Put 2 as the next digit of the answer. 
Result so far: 5022.0
If we take 1608 away from 1826, we end up with 218.
Take the next digit (2) from the dividend and append it to 218, then repeat: 2182 / 804

Let's proceed to step 8:
The number 804 fits into 2182 2 times, leaving a remainder of 574.
Write down 2 as next digit of the result. 
Result so far: 50222.0
If we subtract 1608 from 2182, we get 574.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5740, and continue the process.

Let's proceed to step 9:
The number 804 fits into 5740 7 times, leaving a remainder of 112.
The next digit of our result is 7. 
Result so far: 50222.7
If we subtract 5628 from 5740, we get 112.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1120, and continue the process.

Advancing to step 10:
When dividing 1120 by 804, we get 1 with a remainder of 316.
The next digit of our result is 1. 
Result so far: 50222.71
Deduct 804 from 1120 and we're left with 316.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3160, and continue the process.

On to step 11:
804 can be fit into 3160 3 times, resulting in a remainder of 748.
The number 3 becomes the next digit in our result. 
Result so far: 50222.713
The remainder is 748 after subtracting 2412 from 3160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7480, and continue the process.

Advancing to step 12:
804 goes into 7480 9 times with a remainder of 244.
Use 9 as the next digit of our solution. 
Result so far: 50222.7139
If we subtract 7236 from 7480, we get 244.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2440, and continue the process.

Step 13:
If we divide 2440 by 804, we get 3 and a remainder of 28.
Record the quotient 3 as the next digit in the result. 
Result so far: 50222.71393
The remainder is 28 after subtracting 2412 from 2440.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Going ahead to step 14:
When dividing 280 by 804, we get 0 with a remainder of 280.
Use 0 as the next digit of our solution. 
Result so far: 50222.71393
If we subtract 0 from 280, we get 280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2800, and continue the process.

Going ahead to step 15:
804 can be fit into 2800 3 times, resulting in a remainder of 388.
Use 3 as the next digit of our solution. 
Result so far: 50222.7139303
If we take 2412 away from 2800, we end up with 388.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3880, and continue the process.

Moving on to step 16:
3880 divided by 804 is 4 with a remainder of 664.
Use 4 as the next digit of our solution. 
Result so far: 50222.71393034
If we take 3216 away from 3880, we end up with 664.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6640, and continue the process.

In conclusion, the division gives 50222.71393034 with a balance of 6.64e-07.