Let's divide 679027 by 40
Let's see how many times 40 fits into 679027.

Let's proceed to step 1:
If we divide 6 by 40, we get 0 and a remainder of 6.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 6, we end up with 6.
Take the next digit (7) from the dividend and append it to 6, then repeat: 67 / 40

On to step 2:
40 can be fit into 67 1 times, resulting in a remainder of 27.
Put 1 as the next digit of the answer. 
Result so far: 1.0
If we take 40 away from 67, we end up with 27.
Take the next digit (9) from the dividend and append it to 27, then repeat: 279 / 40

Let's proceed to step 3:
The number 40 fits into 279 6 times, leaving a remainder of 39.
Put 6 as the next digit of the answer. 
Result so far: 16.0
If we subtract 240 from 279, we get 39.
Include the next digit (0) from the dividend after 39, then repeat: 390 / 40

Advancing to step 4:
40 goes into 390 9 times with a remainder of 30.
Record the quotient 9 as the next digit in the result. 
Result so far: 169.0
Subtracting 360 from 390 leaves us with 30.
Append the next digit (2) from the dividend to 30 and continue with: 302 / 40

Let's proceed to step 5:
The number 40 fits into 302 7 times, leaving a remainder of 22.
Put 7 as the next digit of the answer. 
Result so far: 1697.0
The remainder is 22 after subtracting 280 from 302.
Take the next digit (7) from the dividend and append it to 22, then repeat: 227 / 40

Step 6:
If we divide 227 by 40, we get 5 and a remainder of 27.
The number 5 becomes the next digit in our result. 
Result so far: 16975.0
Subtracting 200 from 227 leaves us with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Going ahead to step 7:
40 goes into 270 6 times with a remainder of 30.
Use 6 as the next digit of our solution. 
Result so far: 16975.6
Subtracting 240 from 270 leaves us with 30.
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:
When dividing 300 by 40, we get 7 with a remainder of 20.
Put 7 as the next digit of the answer. 
Result so far: 16975.67
The remainder is 20 after subtracting 280 from 300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Let's proceed to step 9:
40 goes into 200 5 times with a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 16975.675
The remainder is 0 after subtracting 200 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Going ahead to step 10:
40 can be fit into 0 0 times, resulting in a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 16975.675
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.

Advancing to step 11:
When dividing 0 by 40, we get 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 16975.675
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.

The quotient of the division is 16975.675, and the remainder is 0.0.