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

Moving on to step 1:
The number 796 fits into 4 0 times, leaving a remainder of 4.
Use 0 as the next digit of our solution. 
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 / 796

Let's proceed to step 2:
40 divided by 796 is 0 with a remainder of 40.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 40, we get 40.
Fetch the next digit (1) from the dividend, attach it to 40 and continue: 401 / 796

Moving on to step 3:
401 divided by 796 is 0 with a remainder of 401.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 401 leaves us with 401.
Grab the next digit (2) from the dividend, add it to 401, then carry on: 4012 / 796

Step 4:
4012 divided by 796 is 5 with a remainder of 32.
Use 5 as the next digit of our solution. 
Result so far: 5.0
Subtracting 3980 from 4012 leaves us with 32.
Grab the next digit (3) from the dividend, add it to 32, then carry on: 323 / 796

Let's proceed to step 5:
323 divided by 796 is 0 with a remainder of 323.
Put 0 as the next digit of the answer. 
Result so far: 50.0
Subtracting 0 from 323 leaves us with 323.
Take the next digit (6) from the dividend and append it to 323, then repeat: 3236 / 796

Advancing to step 6:
If we divide 3236 by 796, we get 4 and a remainder of 52.
The number 4 becomes the next digit in our result. 
Result so far: 504.0
If we take 3184 away from 3236, we end up with 52.
Grab the next digit (0) from the dividend, add it to 52, then carry on: 520 / 796

On to step 7:
796 can be fit into 520 0 times, resulting in a remainder of 520.
Write down 0 as next digit of the result. 
Result so far: 5040.0
Deduct 0 from 520 and we're left with 520.
Bring next digit (5) of the dividend behind the 520 and repeat the process: 5205 / 796

Advancing to step 8:
The number 796 fits into 5205 6 times, leaving a remainder of 429.
The next digit of our result is 6. 
Result so far: 50406.0
If we subtract 4776 from 5205, we get 429.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4290, and continue the process.

Advancing to step 9:
796 goes into 4290 5 times with a remainder of 310.
The next digit of our result is 5. 
Result so far: 50406.5
Subtracting 3980 from 4290 leaves us 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:
When dividing 3100 by 796, we get 3 with a remainder of 712.
Record the quotient 3 as the next digit in the result. 
Result so far: 50406.53
If we subtract 2388 from 3100, we 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.

Moving on to step 11:
796 can be fit into 7120 8 times, resulting in a remainder of 752.
The next digit of our result is 8. 
Result so far: 50406.538
If we subtract 6368 from 7120, we get 752.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7520, and continue the process.

Let's proceed to step 12:
The number 796 fits into 7520 9 times, leaving a remainder of 356.
Put 9 as the next digit of the answer. 
Result so far: 50406.5389
Deduct 7164 from 7520 and we're left with 356.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3560, and continue the process.

On to step 13:
796 can be fit into 3560 4 times, resulting in a remainder of 376.
The number 4 becomes the next digit in our result. 
Result so far: 50406.53894
Deduct 3184 from 3560 and we're left with 376.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3760, and continue the process.

On to step 14:
3760 divided by 796 is 4 with a remainder of 576.
Use 4 as the next digit of our solution. 
Result so far: 50406.538944
Subtract 3184 from 3760 to get 576.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5760, and continue the process.

The final outcome is 50406.538944, with a leftover of 5.76e-05.