679247 divided by 40 
Our goal is to divide 679247 by 40.

Let's proceed to step 1:
If we divide 6 by 40, we get 0 and a remainder of 6.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 6 after subtracting 0 from 6.
Fetch the next digit (7) from the dividend, attach it to 6 and continue: 67 / 40

Going ahead to step 2:
67 divided by 40 is 1 with a remainder of 27.
The next digit of our result is 1. 
Result so far: 1.0
If we subtract 40 from 67, we get 27.
Append the next digit (9) from the dividend to 27 and continue with: 279 / 40

Moving on to step 3:
40 can be fit into 279 6 times, resulting in a remainder of 39.
Put 6 as the next digit of the answer. 
Result so far: 16.0
Subtract 240 from 279 to get 39.
Fetch the next digit (2) from the dividend, attach it to 39 and continue: 392 / 40

On to step 4:
The number 40 fits into 392 9 times, leaving a remainder of 32.
Put 9 as the next digit of the answer. 
Result so far: 169.0
If we subtract 360 from 392, we get 32.
Fetch the next digit (4) from the dividend, attach it to 32 and continue: 324 / 40

Moving on to step 5:
When dividing 324 by 40, we get 8 with a remainder of 4.
Record the quotient 8 as the next digit in the result. 
Result so far: 1698.0
Subtract 320 from 324 to get 4.
Fetch the next digit (7) from the dividend, attach it to 4 and continue: 47 / 40

Moving on to step 6:
If we divide 47 by 40, we get 1 and a remainder of 7.
Record the quotient 1 as the next digit in the result. 
Result so far: 16981.0
If we subtract 40 from 47, we get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

On to step 7:
40 can be fit into 70 1 times, resulting in a remainder of 30.
Write down 1 as next digit of the result. 
Result so far: 16981.1
The remainder is 30 after subtracting 40 from 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Advancing to step 8:
300 divided by 40 is 7 with a remainder of 20.
Write down 7 as next digit of the result. 
Result so far: 16981.17
If we take 280 away from 300, we end up with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Advancing to step 9:
40 can be fit into 200 5 times, resulting in a remainder of 0.
The next digit of our result is 5. 
Result so far: 16981.175
If we take 200 away from 200, we end up with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Step 10:
If we divide 0 by 40, we get 0 and a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 16981.175
Subtract 0 from 0 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Advancing to step 11:
The number 40 fits into 0 0 times, leaving a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 16981.175
If we take 0 away from 0, we end up with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

After the division, we end up with 16981.175 and a remainder of 0.0.