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

Let's proceed to step 1:
40 can be fit into 6 0 times, resulting in 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.
Fetch the next digit (7) from the dividend, attach it to 6 and continue: 67 / 40

Moving on to step 2:
67 divided by 40 is 1 with a remainder of 27.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we subtract 40 from 67, we get 27.
Bring next digit (3) of the dividend behind the 27 and repeat the process: 273 / 40

Step 3:
40 can be fit into 273 6 times, resulting in a remainder of 33.
Record the quotient 6 as the next digit in the result. 
Result so far: 16.0
The remainder is 33 after subtracting 240 from 273.
Bring next digit (5) of the dividend behind the 33 and repeat the process: 335 / 40

Let's proceed to step 4:
40 goes into 335 8 times with a remainder of 15.
Write down 8 as next digit of the result. 
Result so far: 168.0
If we take 320 away from 335, we end up with 15.
Bring next digit (1) of the dividend behind the 15 and repeat the process: 151 / 40

Step 5:
If we divide 151 by 40, we get 3 and a remainder of 31.
Use 3 as the next digit of our solution. 
Result so far: 1683.0
Subtract 120 from 151 to get 31.
Append the next digit (8) from the dividend to 31 and continue with: 318 / 40

Advancing to step 6:
40 goes into 318 7 times with a remainder of 38.
Write down 7 as next digit of the result. 
Result so far: 16837.0
The remainder is 38 after subtracting 280 from 318.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Going ahead to step 7:
The number 40 fits into 380 9 times, leaving a remainder of 20.
Record the quotient 9 as the next digit in the result. 
Result so far: 16837.9
If we take 360 away from 380, 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 8:
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: 16837.95
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.

Moving on to step 9:
0 divided by 40 is 0 with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 16837.95
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.

Step 10:
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: 16837.95
Deduct 0 from 0 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.

The final outcome is 16837.95, with a leftover of 0.0.