Let's divide 40047934 by 815
We want to divide 40047934 by 815.

Step 1:
4 divided by 815 is 0 with a remainder of 4.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 4 after subtracting 0 from 4.
Grab the next digit (0) from the dividend, add it to 4, then carry on: 40 / 815

Step 2:
815 goes into 40 0 times with a remainder of 40.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 40 after subtracting 0 from 40.
Fetch the next digit (0) from the dividend, attach it to 40 and continue: 400 / 815

Moving on to step 3:
The number 815 fits into 400 0 times, leaving a remainder of 400.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 400, we end up with 400.
Fetch the next digit (4) from the dividend, attach it to 400 and continue: 4004 / 815

Let's proceed to step 4:
815 can be fit into 4004 4 times, resulting in a remainder of 744.
Use 4 as the next digit of our solution. 
Result so far: 4.0
The remainder is 744 after subtracting 3260 from 4004.
Fetch the next digit (7) from the dividend, attach it to 744 and continue: 7447 / 815

Moving on to step 5:
815 can be fit into 7447 9 times, resulting in a remainder of 112.
The number 9 becomes the next digit in our result. 
Result so far: 49.0
Subtract 7335 from 7447 to get 112.
Fetch the next digit (9) from the dividend, attach it to 112 and continue: 1129 / 815

Moving on to step 6:
815 can be fit into 1129 1 times, resulting in a remainder of 314.
Write down 1 as next digit of the result. 
Result so far: 491.0
Subtract 815 from 1129 to get 314.
Take the next digit (3) from the dividend and append it to 314, then repeat: 3143 / 815

Step 7:
815 can be fit into 3143 3 times, resulting in a remainder of 698.
The next digit of our result is 3. 
Result so far: 4913.0
If we take 2445 away from 3143, we end up with 698.
Grab the next digit (4) from the dividend, add it to 698, then carry on: 6984 / 815

Moving on to step 8:
6984 divided by 815 is 8 with a remainder of 464.
Write down 8 as next digit of the result. 
Result so far: 49138.0
Subtracting 6520 from 6984 leaves us with 464.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4640, and continue the process.

Moving on to step 9:
815 goes into 4640 5 times with a remainder of 565.
Record the quotient 5 as the next digit in the result. 
Result so far: 49138.5
Subtract 4075 from 4640 to get 565.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5650, and continue the process.

Advancing to step 10:
If we divide 5650 by 815, we get 6 and a remainder of 760.
Record the quotient 6 as the next digit in the result. 
Result so far: 49138.56
If we subtract 4890 from 5650, we get 760.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7600, and continue the process.

Advancing to step 11:
The number 815 fits into 7600 9 times, leaving a remainder of 265.
Write down 9 as next digit of the result. 
Result so far: 49138.569
Subtract 7335 from 7600 to get 265.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2650, and continue the process.

Moving on to step 12:
815 can be fit into 2650 3 times, resulting in a remainder of 205.
The number 3 becomes the next digit in our result. 
Result so far: 49138.5693
Subtract 2445 from 2650 to get 205.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2050, and continue the process.

Advancing to step 13:
815 goes into 2050 2 times with a remainder of 420.
Record the quotient 2 as the next digit in the result. 
Result so far: 49138.56932
Subtract 1630 from 2050 to get 420.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4200, and continue the process.

Step 14:
4200 divided by 815 is 5 with a remainder of 125.
Put 5 as the next digit of the answer. 
Result so far: 49138.569325
The remainder is 125 after subtracting 4075 from 4200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1250, and continue the process.

Moving on to step 15:
If we divide 1250 by 815, we get 1 and a remainder of 435.
Record the quotient 1 as the next digit in the result. 
Result so far: 49138.5693251
Subtracting 815 from 1250 leaves us with 435.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4350, and continue the process.

Advancing to step 16:
The number 815 fits into 4350 5 times, leaving a remainder of 275.
Write down 5 as next digit of the result. 
Result so far: 49138.56932515
If we take 4075 away from 4350, we end up with 275.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2750, and continue the process.

The quotient of the division is 49138.56932515, and the remainder is 2.75e-07.