40831362 divided by 804 
We're looking to find how many times 804 goes into 40831362.

Going ahead to step 1:
804 can be fit into 4 0 times, resulting in a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Append the next digit (0) from the dividend to 4 and continue with: 40 / 804

Going ahead to step 2:
804 can be fit into 40 0 times, resulting in a remainder of 40.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 40, we end up with 40.
Bring next digit (8) of the dividend behind the 40 and repeat the process: 408 / 804

Going ahead to step 3:
804 can be fit into 408 0 times, resulting in a remainder of 408.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 408 leaves us with 408.
Grab the next digit (3) from the dividend, add it to 408, then carry on: 4083 / 804

On to step 4:
The number 804 fits into 4083 5 times, leaving a remainder of 63.
Write down 5 as next digit of the result. 
Result so far: 5.0
If we take 4020 away from 4083, we end up with 63.
Grab the next digit (1) from the dividend, add it to 63, then carry on: 631 / 804

Let's proceed to step 5:
The number 804 fits into 631 0 times, leaving a remainder of 631.
Put 0 as the next digit of the answer. 
Result so far: 50.0
If we subtract 0 from 631, we get 631.
Include the next digit (3) from the dividend after 631, then repeat: 6313 / 804

Moving on to step 6:
When dividing 6313 by 804, we get 7 with a remainder of 685.
The number 7 becomes the next digit in our result. 
Result so far: 507.0
Subtracting 5628 from 6313 leaves us with 685.
Append the next digit (6) from the dividend to 685 and continue with: 6856 / 804

Going ahead to step 7:
6856 divided by 804 is 8 with a remainder of 424.
Use 8 as the next digit of our solution. 
Result so far: 5078.0
Subtract 6432 from 6856 to get 424.
Fetch the next digit (2) from the dividend, attach it to 424 and continue: 4242 / 804

Moving on to step 8:
804 can be fit into 4242 5 times, resulting in a remainder of 222.
The number 5 becomes the next digit in our result. 
Result so far: 50785.0
The remainder is 222 after subtracting 4020 from 4242.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2220, and continue the process.

Step 9:
804 goes into 2220 2 times with a remainder of 612.
Record the quotient 2 as the next digit in the result. 
Result so far: 50785.2
Deduct 1608 from 2220 and we're left with 612.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6120, and continue the process.

Advancing to step 10:
The number 804 fits into 6120 7 times, leaving a remainder of 492.
Record the quotient 7 as the next digit in the result. 
Result so far: 50785.27
Deduct 5628 from 6120 and we're left with 492.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4920, and continue the process.

Advancing to step 11:
804 goes into 4920 6 times with a remainder of 96.
Put 6 as the next digit of the answer. 
Result so far: 50785.276
The remainder is 96 after subtracting 4824 from 4920.
Since there are no more digits in the dividend, we add a zero to the remainder making it 960, and continue the process.

Advancing to step 12:
If we divide 960 by 804, we get 1 and a remainder of 156.
Use 1 as the next digit of our solution. 
Result so far: 50785.2761
The remainder is 156 after subtracting 804 from 960.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1560, and continue the process.

Let's proceed to step 13:
The number 804 fits into 1560 1 times, leaving a remainder of 756.
The next digit of our result is 1. 
Result so far: 50785.27611
If we subtract 804 from 1560, we get 756.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7560, and continue the process.

In conclusion, the division gives 50785.27611 with a balance of 0.000756.