We look at the division of 669042 by 40 
We're looking to find how many times 40 goes into 669042.

Let's proceed to step 1:
6 divided by 40 is 0 with a remainder of 6.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 6 leaves us with 6.
Append the next digit (6) from the dividend to 6 and continue with: 66 / 40

Let's proceed to step 2:
40 can be fit into 66 1 times, resulting in a remainder of 26.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Subtracting 40 from 66 leaves us with 26.
Include the next digit (9) from the dividend after 26, then repeat: 269 / 40

On to step 3:
If we divide 269 by 40, we get 6 and a remainder of 29.
Write down 6 as next digit of the result. 
Result so far: 16.0
Subtracting 240 from 269 leaves us with 29.
Include the next digit (0) from the dividend after 29, then repeat: 290 / 40

On to step 4:
If we divide 290 by 40, we get 7 and a remainder of 10.
Record the quotient 7 as the next digit in the result. 
Result so far: 167.0
If we take 280 away from 290, we end up with 10.
Fetch the next digit (4) from the dividend, attach it to 10 and continue: 104 / 40

Going ahead to step 5:
The number 40 fits into 104 2 times, leaving a remainder of 24.
Record the quotient 2 as the next digit in the result. 
Result so far: 1672.0
Subtracting 80 from 104 leaves us with 24.
Include the next digit (2) from the dividend after 24, then repeat: 242 / 40

Let's proceed to step 6:
40 can be fit into 242 6 times, resulting in a remainder of 2.
Put 6 as the next digit of the answer. 
Result so far: 16726.0
If we subtract 240 from 242, we get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Advancing to step 7:
If we divide 20 by 40, we get 0 and a remainder of 20.
The next digit of our result is 0. 
Result so far: 16726.0
Deduct 0 from 20 and we're left 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.

Going ahead to step 8:
The number 40 fits into 200 5 times, leaving a remainder of 0.
The next digit of our result is 5. 
Result so far: 16726.05
Subtract 200 from 200 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.

On to step 9:
The number 40 fits into 0 0 times, leaving a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 16726.05
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.

Moving on to step 10:
40 can be fit into 0 0 times, resulting in a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 16726.05
The remainder is 0 after subtracting 0 from 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 16726.05 and a remainder of 0.0.