627949 ÷ 40 
Let's see how many times 40 fits into 627949.

Advancing to step 1:
The number 40 fits into 6 0 times, leaving a remainder of 6.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 6 after subtracting 0 from 6.
Include the next digit (2) from the dividend after 6, then repeat: 62 / 40

Let's proceed to step 2:
40 goes into 62 1 times with a remainder of 22.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we subtract 40 from 62, we get 22.
Take the next digit (7) from the dividend and append it to 22, then repeat: 227 / 40

Moving on to step 3:
40 goes into 227 5 times with a remainder of 27.
Record the quotient 5 as the next digit in the result. 
Result so far: 15.0
Deduct 200 from 227 and we're left with 27.
Fetch the next digit (9) from the dividend, attach it to 27 and continue: 279 / 40

Moving on to step 4:
If we divide 279 by 40, we get 6 and a remainder of 39.
Record the quotient 6 as the next digit in the result. 
Result so far: 156.0
Subtracting 240 from 279 leaves us with 39.
Append the next digit (4) from the dividend to 39 and continue with: 394 / 40

Going ahead to step 5:
40 can be fit into 394 9 times, resulting in a remainder of 34.
Use 9 as the next digit of our solution. 
Result so far: 1569.0
If we take 360 away from 394, we end up with 34.
Take the next digit (9) from the dividend and append it to 34, then repeat: 349 / 40

Moving on to step 6:
The number 40 fits into 349 8 times, leaving a remainder of 29.
Put 8 as the next digit of the answer. 
Result so far: 15698.0
If we subtract 320 from 349, we get 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Step 7:
290 divided by 40 is 7 with a remainder of 10.
Write down 7 as next digit of the result. 
Result so far: 15698.7
Subtracting 280 from 290 leaves us with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Let's proceed to step 8:
40 can be fit into 100 2 times, resulting in a remainder of 20.
Use 2 as the next digit of our solution. 
Result so far: 15698.72
Subtracting 80 from 100 leaves us 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 9:
40 goes into 200 5 times with a remainder of 0.
The number 5 becomes the next digit in our result. 
Result so far: 15698.725
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.

Step 10:
The number 40 fits into 0 0 times, leaving a remainder of 0.
The next digit of our result is 0. 
Result so far: 15698.725
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 11:
40 goes into 0 0 times with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 15698.725
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 15698.725 and a remainder of 0.0.