We divide 795037 by 40
We want to divide 795037 by 40.

Moving on to step 1:
When dividing 7 by 40, we get 0 with a remainder of 7.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 7, we end up with 7.
Include the next digit (9) from the dividend after 7, then repeat: 79 / 40

Let's proceed to step 2:
40 can be fit into 79 1 times, resulting in a remainder of 39.
Write down 1 as next digit of the result. 
Result so far: 1.0
Deduct 40 from 79 and we're left with 39.
Include the next digit (5) from the dividend after 39, then repeat: 395 / 40

On to step 3:
If we divide 395 by 40, we get 9 and a remainder of 35.
The next digit of our result is 9. 
Result so far: 19.0
If we take 360 away from 395, we end up with 35.
Append the next digit (0) from the dividend to 35 and continue with: 350 / 40

Let's proceed to step 4:
40 goes into 350 8 times with a remainder of 30.
The next digit of our result is 8. 
Result so far: 198.0
If we subtract 320 from 350, we get 30.
Append the next digit (3) from the dividend to 30 and continue with: 303 / 40

Step 5:
40 can be fit into 303 7 times, resulting in a remainder of 23.
Put 7 as the next digit of the answer. 
Result so far: 1987.0
If we subtract 280 from 303, we get 23.
Bring next digit (7) of the dividend behind the 23 and repeat the process: 237 / 40

Moving on to step 6:
When dividing 237 by 40, we get 5 with a remainder of 37.
The number 5 becomes the next digit in our result. 
Result so far: 19875.0
Subtract 200 from 237 to get 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

Moving on to step 7:
When dividing 370 by 40, we get 9 with a remainder of 10.
Write down 9 as next digit of the result. 
Result so far: 19875.9
Subtract 360 from 370 to get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Step 8:
The number 40 fits into 100 2 times, leaving a remainder of 20.
Record the quotient 2 as the next digit in the result. 
Result so far: 19875.92
Deduct 80 from 100 and we're left with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

On to step 9:
The number 40 fits into 200 5 times, leaving a remainder of 0.
The next digit of our result is 5. 
Result so far: 19875.925
Deduct 200 from 200 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Advancing to step 10:
The number 40 fits into 0 0 times, leaving a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 19875.925
If we take 0 away from 0, we end up with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Let's proceed to step 11:
40 can be fit into 0 0 times, resulting in a remainder of 0.
The next digit of our result is 0. 
Result so far: 19875.925
Deduct 0 from 0 and we're left with 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 result is 19875.925 with a remainder of 0.0.