793096 divided by 40 
We're looking to find how many times 40 goes into 793096.

On to step 1:
If we divide 7 by 40, we get 0 and a remainder of 7.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 7, we end up with 7.
Grab the next digit (9) from the dividend, add it to 7, then carry on: 79 / 40

Going ahead to step 2:
If we divide 79 by 40, we get 1 and a remainder of 39.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
If we take 40 away from 79, we end up with 39.
Take the next digit (3) from the dividend and append it to 39, then repeat: 393 / 40

Let's proceed to step 3:
40 goes into 393 9 times with a remainder of 33.
Put 9 as the next digit of the answer. 
Result so far: 19.0
Subtracting 360 from 393 leaves us with 33.
Include the next digit (0) from the dividend after 33, then repeat: 330 / 40

Going ahead to step 4:
40 can be fit into 330 8 times, resulting in a remainder of 10.
The next digit of our result is 8. 
Result so far: 198.0
The remainder is 10 after subtracting 320 from 330.
Append the next digit (9) from the dividend to 10 and continue with: 109 / 40

Let's proceed to step 5:
40 can be fit into 109 2 times, resulting in a remainder of 29.
Record the quotient 2 as the next digit in the result. 
Result so far: 1982.0
If we take 80 away from 109, we end up with 29.
Take the next digit (6) from the dividend and append it to 29, then repeat: 296 / 40

Moving on to step 6:
The number 40 fits into 296 7 times, leaving a remainder of 16.
Record the quotient 7 as the next digit in the result. 
Result so far: 19827.0
If we take 280 away from 296, 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.

Let's proceed to step 7:
The number 40 fits into 160 4 times, leaving a remainder of 0.
Put 4 as the next digit of the answer. 
Result so far: 19827.4
If we subtract 160 from 160, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Moving on to step 8:
40 goes into 0 0 times with a remainder of 0.
The next digit of our result is 0. 
Result so far: 19827.4
Subtract 0 from 0 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Moving on to step 9:
If we divide 0 by 40, we get 0 and a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 19827.4
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The final outcome is 19827.4, with a leftover of 0.0.