We're dividing 40200360 by 79 
Let's see how many times 79 fits into 40200360.

Moving on to step 1:
The number 79 fits into 4 0 times, leaving a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 4, we get 4.
Fetch the next digit (0) from the dividend, attach it to 4 and continue: 40 / 79

Advancing to step 2:
79 goes into 40 0 times with 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.
Bring next digit (2) of the dividend behind the 40 and repeat the process: 402 / 79

Step 3:
If we divide 402 by 79, we get 5 and a remainder of 7.
Record the quotient 5 as the next digit in the result. 
Result so far: 5.0
Deduct 395 from 402 and we're left with 7.
Grab the next digit (0) from the dividend, add it to 7, then carry on: 70 / 79

Moving on to step 4:
70 divided by 79 is 0 with a remainder of 70.
The number 0 becomes the next digit in our result. 
Result so far: 50.0
Deduct 0 from 70 and we're left with 70.
Grab the next digit (0) from the dividend, add it to 70, then carry on: 700 / 79

Let's proceed to step 5:
700 divided by 79 is 8 with a remainder of 68.
Write down 8 as next digit of the result. 
Result so far: 508.0
If we take 632 away from 700, we end up with 68.
Include the next digit (3) from the dividend after 68, then repeat: 683 / 79

Let's proceed to step 6:
79 goes into 683 8 times with a remainder of 51.
Write down 8 as next digit of the result. 
Result so far: 5088.0
Subtract 632 from 683 to get 51.
Take the next digit (6) from the dividend and append it to 51, then repeat: 516 / 79

Let's proceed to step 7:
79 can be fit into 516 6 times, resulting in a remainder of 42.
Use 6 as the next digit of our solution. 
Result so far: 50886.0
Deduct 474 from 516 and we're left with 42.
Append the next digit (0) from the dividend to 42 and continue with: 420 / 79

Step 8:
The number 79 fits into 420 5 times, leaving a remainder of 25.
Write down 5 as next digit of the result. 
Result so far: 508865.0
If we subtract 395 from 420, we get 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Moving on to step 9:
When dividing 250 by 79, we get 3 with a remainder of 13.
Use 3 as the next digit of our solution. 
Result so far: 508865.3
If we subtract 237 from 250, we get 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Advancing to step 10:
79 goes into 130 1 times with a remainder of 51.
Use 1 as the next digit of our solution. 
Result so far: 508865.31
If we take 79 away from 130, we end up with 51.
Since there are no more digits in the dividend, we add a zero to the remainder making it 510, and continue the process.

Moving on to step 11:
510 divided by 79 is 6 with a remainder of 36.
Write down 6 as next digit of the result. 
Result so far: 508865.316
Subtracting 474 from 510 leaves us with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

On to step 12:
When dividing 360 by 79, we get 4 with a remainder of 44.
Put 4 as the next digit of the answer. 
Result so far: 508865.3164
Deduct 316 from 360 and we're left with 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

Going ahead to step 13:
79 can be fit into 440 5 times, resulting in a remainder of 45.
Write down 5 as next digit of the result. 
Result so far: 508865.31645
Deduct 395 from 440 and we're left with 45.
Since there are no more digits in the dividend, we add a zero to the remainder making it 450, and continue the process.

Advancing to step 14:
If we divide 450 by 79, we get 5 and a remainder of 55.
The number 5 becomes the next digit in our result. 
Result so far: 508865.316455
If we subtract 395 from 450, we get 55.
Since there are no more digits in the dividend, we add a zero to the remainder making it 550, and continue the process.

After the division, we end up with 508865.316455 and a remainder of 5.5e-06.