We look at the division of 40029075 by 795 
Our goal is to divide 40029075 by 795.

On to step 1:
If we divide 4 by 795, we get 0 and a remainder of 4.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 4 to get 4.
Include the next digit (0) from the dividend after 4, then repeat: 40 / 795

Moving on to step 2:
795 can be fit into 40 0 times, resulting in a remainder of 40.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 40 to get 40.
Append the next digit (0) from the dividend to 40 and continue with: 400 / 795

Going ahead to step 3:
795 can be fit into 400 0 times, resulting in a remainder of 400.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 400 after subtracting 0 from 400.
Fetch the next digit (2) from the dividend, attach it to 400 and continue: 4002 / 795

On to step 4:
795 goes into 4002 5 times with a remainder of 27.
Write down 5 as next digit of the result. 
Result so far: 5.0
The remainder is 27 after subtracting 3975 from 4002.
Bring next digit (9) of the dividend behind the 27 and repeat the process: 279 / 795

Moving on to step 5:
If we divide 279 by 795, we get 0 and a remainder of 279.
Write down 0 as next digit of the result. 
Result so far: 50.0
Subtract 0 from 279 to get 279.
Grab the next digit (0) from the dividend, add it to 279, then carry on: 2790 / 795

Let's proceed to step 6:
2790 divided by 795 is 3 with a remainder of 405.
Use 3 as the next digit of our solution. 
Result so far: 503.0
If we subtract 2385 from 2790, we get 405.
Fetch the next digit (7) from the dividend, attach it to 405 and continue: 4057 / 795

Let's proceed to step 7:
When dividing 4057 by 795, we get 5 with a remainder of 82.
Use 5 as the next digit of our solution. 
Result so far: 5035.0
If we subtract 3975 from 4057, we get 82.
Grab the next digit (5) from the dividend, add it to 82, then carry on: 825 / 795

On to step 8:
When dividing 825 by 795, we get 1 with a remainder of 30.
The next digit of our result is 1. 
Result so far: 50351.0
If we subtract 795 from 825, we get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Moving on to step 9:
If we divide 300 by 795, we get 0 and a remainder of 300.
Use 0 as the next digit of our solution. 
Result so far: 50351.0
Subtracting 0 from 300 leaves us with 300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3000, and continue the process.

Moving on to step 10:
795 can be fit into 3000 3 times, resulting in a remainder of 615.
The next digit of our result is 3. 
Result so far: 50351.03
The remainder is 615 after subtracting 2385 from 3000.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6150, and continue the process.

Going ahead to step 11:
The number 795 fits into 6150 7 times, leaving a remainder of 585.
Write down 7 as next digit of the result. 
Result so far: 50351.037
If we take 5565 away from 6150, we end up with 585.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5850, and continue the process.

On to step 12:
When dividing 5850 by 795, we get 7 with a remainder of 285.
Write down 7 as next digit of the result. 
Result so far: 50351.0377
The remainder is 285 after subtracting 5565 from 5850.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2850, and continue the process.

In conclusion, the division gives 50351.0377 with a balance of 0.00285.