We're dividing 40747807 by 816 
We want to figure out the number of times 40747807 can be divided by 816.

Going ahead to step 1:
When dividing 4 by 816, we get 0 with a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 4 and we're left with 4.
Append the next digit (0) from the dividend to 4 and continue with: 40 / 816

Going ahead to step 2:
816 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
Subtract 0 from 40 to get 40.
Bring next digit (7) of the dividend behind the 40 and repeat the process: 407 / 816

Moving on to step 3:
If we divide 407 by 816, we get 0 and a remainder of 407.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 407 to get 407.
Bring next digit (4) of the dividend behind the 407 and repeat the process: 4074 / 816

Advancing to step 4:
The number 816 fits into 4074 4 times, leaving a remainder of 810.
Write down 4 as next digit of the result. 
Result so far: 4.0
The remainder is 810 after subtracting 3264 from 4074.
Append the next digit (7) from the dividend to 810 and continue with: 8107 / 816

Let's proceed to step 5:
When dividing 8107 by 816, we get 9 with a remainder of 763.
Put 9 as the next digit of the answer. 
Result so far: 49.0
Subtract 7344 from 8107 to get 763.
Fetch the next digit (8) from the dividend, attach it to 763 and continue: 7638 / 816

Moving on to step 6:
When dividing 7638 by 816, we get 9 with a remainder of 294.
Write down 9 as next digit of the result. 
Result so far: 499.0
If we subtract 7344 from 7638, we get 294.
Include the next digit (0) from the dividend after 294, then repeat: 2940 / 816

Advancing to step 7:
The number 816 fits into 2940 3 times, leaving a remainder of 492.
The next digit of our result is 3. 
Result so far: 4993.0
Deduct 2448 from 2940 and we're left with 492.
Fetch the next digit (7) from the dividend, attach it to 492 and continue: 4927 / 816

Going ahead to step 8:
816 can be fit into 4927 6 times, resulting in a remainder of 31.
The next digit of our result is 6. 
Result so far: 49936.0
Deduct 4896 from 4927 and we're left with 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Advancing to step 9:
816 can be fit into 310 0 times, resulting in a remainder of 310.
Put 0 as the next digit of the answer. 
Result so far: 49936.0
If we take 0 away from 310, we end up with 310.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3100, and continue the process.

Advancing to step 10:
816 goes into 3100 3 times with a remainder of 652.
Put 3 as the next digit of the answer. 
Result so far: 49936.03
If we take 2448 away from 3100, we end up with 652.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6520, and continue the process.

Advancing to step 11:
If we divide 6520 by 816, we get 7 and a remainder of 808.
Record the quotient 7 as the next digit in the result. 
Result so far: 49936.037
Deduct 5712 from 6520 and we're left with 808.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8080, and continue the process.

Going ahead to step 12:
816 goes into 8080 9 times with a remainder of 736.
The number 9 becomes the next digit in our result. 
Result so far: 49936.0379
Subtracting 7344 from 8080 leaves us with 736.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7360, and continue the process.

Advancing to step 13:
816 goes into 7360 9 times with a remainder of 16.
Use 9 as the next digit of our solution. 
Result so far: 49936.03799
If we take 7344 away from 7360, we end up with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Our division results in 49936.03799 with a remaining 1.6e-05.