We divide 40356034 by 798
Our goal is to divide 40356034 by 798.

Step 1:
The number 798 fits into 4 0 times, leaving a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Fetch the next digit (0) from the dividend, attach it to 4 and continue: 40 / 798

Advancing to step 2:
If we divide 40 by 798, we get 0 and a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 40 after subtracting 0 from 40.
Append the next digit (3) from the dividend to 40 and continue with: 403 / 798

Moving on to step 3:
798 can be fit into 403 0 times, resulting in a remainder of 403.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 403 after subtracting 0 from 403.
Take the next digit (5) from the dividend and append it to 403, then repeat: 4035 / 798

Going ahead to step 4:
798 goes into 4035 5 times with a remainder of 45.
Write down 5 as next digit of the result. 
Result so far: 5.0
If we subtract 3990 from 4035, we get 45.
Bring next digit (6) of the dividend behind the 45 and repeat the process: 456 / 798

Moving on to step 5:
If we divide 456 by 798, we get 0 and a remainder of 456.
The number 0 becomes the next digit in our result. 
Result so far: 50.0
Subtract 0 from 456 to get 456.
Grab the next digit (0) from the dividend, add it to 456, then carry on: 4560 / 798

Let's proceed to step 6:
If we divide 4560 by 798, we get 5 and a remainder of 570.
Record the quotient 5 as the next digit in the result. 
Result so far: 505.0
Subtract 3990 from 4560 to get 570.
Fetch the next digit (3) from the dividend, attach it to 570 and continue: 5703 / 798

Going ahead to step 7:
If we divide 5703 by 798, we get 7 and a remainder of 117.
Use 7 as the next digit of our solution. 
Result so far: 5057.0
Deduct 5586 from 5703 and we're left with 117.
Grab the next digit (4) from the dividend, add it to 117, then carry on: 1174 / 798

Advancing to step 8:
1174 divided by 798 is 1 with a remainder of 376.
The number 1 becomes the next digit in our result. 
Result so far: 50571.0
If we subtract 798 from 1174, we get 376.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3760, and continue the process.

Moving on to step 9:
798 goes into 3760 4 times with a remainder of 568.
Put 4 as the next digit of the answer. 
Result so far: 50571.4
If we take 3192 away from 3760, we end up with 568.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5680, and continue the process.

On to step 10:
When dividing 5680 by 798, we get 7 with a remainder of 94.
Record the quotient 7 as the next digit in the result. 
Result so far: 50571.47
If we subtract 5586 from 5680, we get 94.
Since there are no more digits in the dividend, we add a zero to the remainder making it 940, and continue the process.

Going ahead to step 11:
798 goes into 940 1 times with a remainder of 142.
The next digit of our result is 1. 
Result so far: 50571.471
If we subtract 798 from 940, we get 142.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1420, and continue the process.

Let's proceed to step 12:
The number 798 fits into 1420 1 times, leaving a remainder of 622.
The next digit of our result is 1. 
Result so far: 50571.4711
Deduct 798 from 1420 and we're left with 622.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6220, and continue the process.

The final result is 50571.4711 with a remainder of 0.00622.