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

On to step 1:
When dividing 6 by 40, we get 0 with a remainder of 6.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 6, we end up with 6.
Append the next digit (7) from the dividend to 6 and continue with: 67 / 40

Step 2:
40 can be fit into 67 1 times, resulting in a remainder of 27.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Subtracting 40 from 67 leaves us with 27.
Append the next digit (3) from the dividend to 27 and continue with: 273 / 40

On to step 3:
273 divided by 40 is 6 with a remainder of 33.
The next digit of our result is 6. 
Result so far: 16.0
Subtract 240 from 273 to get 33.
Fetch the next digit (1) from the dividend, attach it to 33 and continue: 331 / 40

Moving on to step 4:
When dividing 331 by 40, we get 8 with a remainder of 11.
Write down 8 as next digit of the result. 
Result so far: 168.0
The remainder is 11 after subtracting 320 from 331.
Fetch the next digit (2) from the dividend, attach it to 11 and continue: 112 / 40

Advancing to step 5:
40 goes into 112 2 times with a remainder of 32.
Write down 2 as next digit of the result. 
Result so far: 1682.0
If we subtract 80 from 112, we get 32.
Grab the next digit (2) from the dividend, add it to 32, then carry on: 322 / 40

Let's proceed to step 6:
When dividing 322 by 40, we get 8 with a remainder of 2.
Use 8 as the next digit of our solution. 
Result so far: 16828.0
Subtract 320 from 322 to 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.

Moving on to step 7:
40 goes into 20 0 times with a remainder of 20.
Put 0 as the next digit of the answer. 
Result so far: 16828.0
If we take 0 away from 20, 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.

Step 8:
The number 40 fits into 200 5 times, leaving a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 16828.05
Deduct 200 from 200 and we're left 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.

Going ahead to step 9:
The number 40 fits into 0 0 times, leaving a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 16828.05
If we subtract 0 from 0, we 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.

Let's proceed to step 10:
The number 40 fits into 0 0 times, leaving a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 16828.05
Subtracting 0 from 0 leaves us 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 final outcome is 16828.05, with a leftover of 0.0.