Let's divide 40999 by 79
Our goal is to divide 40999 by 79.

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 take 0 away from 4, we end up with 4.
Grab the next digit (0) from the dividend, add it to 4, then carry on: 40 / 79

Advancing to step 2:
If we divide 40 by 79, we get 0 and a remainder of 40.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 40, we end up with 40.
Include the next digit (9) from the dividend after 40, then repeat: 409 / 79

On to step 3:
If we divide 409 by 79, we get 5 and a remainder of 14.
The number 5 becomes the next digit in our result. 
Result so far: 5.0
Deduct 395 from 409 and we're left with 14.
Take the next digit (9) from the dividend and append it to 14, then repeat: 149 / 79

Step 4:
The number 79 fits into 149 1 times, leaving a remainder of 70.
Use 1 as the next digit of our solution. 
Result so far: 51.0
Subtracting 79 from 149 leaves us with 70.
Include the next digit (9) from the dividend after 70, then repeat: 709 / 79

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

Going ahead to step 6:
79 goes into 770 9 times with a remainder of 59.
The next digit of our result is 9. 
Result so far: 518.9
If we subtract 711 from 770, we get 59.
Since there are no more digits in the dividend, we add a zero to the remainder making it 590, and continue the process.

Moving on to step 7:
When dividing 590 by 79, we get 7 with a remainder of 37.
Record the quotient 7 as the next digit in the result. 
Result so far: 518.97
Deduct 553 from 590 and we're left with 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

Step 8:
The number 79 fits into 370 4 times, leaving a remainder of 54.
The number 4 becomes the next digit in our result. 
Result so far: 518.974
Deduct 316 from 370 and we're left with 54.
Since there are no more digits in the dividend, we add a zero to the remainder making it 540, and continue the process.

On to step 9:
79 can be fit into 540 6 times, resulting in a remainder of 66.
Record the quotient 6 as the next digit in the result. 
Result so far: 518.9746
If we subtract 474 from 540, we get 66.
Since there are no more digits in the dividend, we add a zero to the remainder making it 660, and continue the process.

Advancing to step 10:
79 can be fit into 660 8 times, resulting in a remainder of 28.
The next digit of our result is 8. 
Result so far: 518.97468
If we take 632 away from 660, we end up with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Moving on to step 11:
The number 79 fits into 280 3 times, leaving a remainder of 43.
The number 3 becomes the next digit in our result. 
Result so far: 518.974683
Deduct 237 from 280 and we're left with 43.
Since there are no more digits in the dividend, we add a zero to the remainder making it 430, and continue the process.

Moving on to step 12:
430 divided by 79 is 5 with a remainder of 35.
The number 5 becomes the next digit in our result. 
Result so far: 518.9746835
Subtract 395 from 430 to get 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Going ahead to step 13:
When dividing 350 by 79, we get 4 with a remainder of 34.
Use 4 as the next digit of our solution. 
Result so far: 518.97468354
Subtract 316 from 350 to get 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Our division results in 518.97468354 with a remaining 3.4e-08.