We're dividing 40679 by 47 
Let's see how many times 47 fits into 40679.

Moving on to step 1:
47 can be fit into 4 0 times, resulting in a remainder of 4.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Append the next digit (0) from the dividend to 4 and continue with: 40 / 47

On to step 2:
40 divided by 47 is 0 with a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 40, we get 40.
Include the next digit (6) from the dividend after 40, then repeat: 406 / 47

Advancing to step 3:
47 can be fit into 406 8 times, resulting in a remainder of 30.
Put 8 as the next digit of the answer. 
Result so far: 8.0
The remainder is 30 after subtracting 376 from 406.
Grab the next digit (7) from the dividend, add it to 30, then carry on: 307 / 47

Let's proceed to step 4:
47 can be fit into 307 6 times, resulting in a remainder of 25.
The number 6 becomes the next digit in our result. 
Result so far: 86.0
Subtract 282 from 307 to get 25.
Append the next digit (9) from the dividend to 25 and continue with: 259 / 47

Advancing to step 5:
If we divide 259 by 47, we get 5 and a remainder of 24.
The next digit of our result is 5. 
Result so far: 865.0
If we subtract 235 from 259, we get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Step 6:
When dividing 240 by 47, we get 5 with a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 865.5
Subtracting 235 from 240 leaves us with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Advancing to step 7:
47 goes into 50 1 times with a remainder of 3.
Write down 1 as next digit of the result. 
Result so far: 865.51
If we subtract 47 from 50, we get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Advancing to step 8:
The number 47 fits into 30 0 times, leaving a remainder of 30.
The number 0 becomes the next digit in our result. 
Result so far: 865.51
If we subtract 0 from 30, 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:
47 goes into 300 6 times with a remainder of 18.
The number 6 becomes the next digit in our result. 
Result so far: 865.5106
The remainder is 18 after subtracting 282 from 300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Let's proceed to step 10:
If we divide 180 by 47, we get 3 and a remainder of 39.
Write down 3 as next digit of the result. 
Result so far: 865.51063
Subtracting 141 from 180 leaves us with 39.
Since there are no more digits in the dividend, we add a zero to the remainder making it 390, and continue the process.

Step 11:
47 goes into 390 8 times with a remainder of 14.
Use 8 as the next digit of our solution. 
Result so far: 865.510638
Subtract 376 from 390 to get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Let's proceed to step 12:
If we divide 140 by 47, we get 2 and a remainder of 46.
Put 2 as the next digit of the answer. 
Result so far: 865.5106382
Deduct 94 from 140 and we're left with 46.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

Let's proceed to step 13:
The number 47 fits into 460 9 times, leaving a remainder of 37.
Use 9 as the next digit of our solution. 
Result so far: 865.51063829
Deduct 423 from 460 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.

After the division, we end up with 865.51063829 and a remainder of 3.7e-08.