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

Moving on to step 1:
7 divided by 40 is 0 with a remainder of 7.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 7 after subtracting 0 from 7.
Grab the next digit (8) from the dividend, add it to 7, then carry on: 78 / 40

Advancing to step 2:
40 can be fit into 78 1 times, resulting in a remainder of 38.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Subtracting 40 from 78 leaves us with 38.
Bring next digit (0) of the dividend behind the 38 and repeat the process: 380 / 40

Let's proceed to step 3:
The number 40 fits into 380 9 times, leaving a remainder of 20.
Use 9 as the next digit of our solution. 
Result so far: 19.0
If we take 360 away from 380, we end up with 20.
Bring next digit (9) of the dividend behind the 20 and repeat the process: 209 / 40

Going ahead to step 4:
When dividing 209 by 40, we get 5 with a remainder of 9.
Record the quotient 5 as the next digit in the result. 
Result so far: 195.0
Subtracting 200 from 209 leaves us with 9.
Include the next digit (4) from the dividend after 9, then repeat: 94 / 40

Moving on to step 5:
If we divide 94 by 40, we get 2 and a remainder of 14.
Write down 2 as next digit of the result. 
Result so far: 1952.0
Deduct 80 from 94 and we're left with 14.
Append the next digit (9) from the dividend to 14 and continue with: 149 / 40

Going ahead to step 6:
If we divide 149 by 40, we get 3 and a remainder of 29.
Use 3 as the next digit of our solution. 
Result so far: 19523.0
Subtract 120 from 149 to 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.

On to step 7:
40 goes into 290 7 times with a remainder of 10.
Write down 7 as next digit of the result. 
Result so far: 19523.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.

Going ahead to step 8:
40 can be fit into 100 2 times, resulting in a remainder of 20.
Put 2 as the next digit of the answer. 
Result so far: 19523.72
The remainder is 20 after subtracting 80 from 100.
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:
When dividing 200 by 40, we get 5 with a remainder of 0.
The next digit of our result is 5. 
Result so far: 19523.725
If we subtract 200 from 200, 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.

Step 10:
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: 19523.725
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 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: 19523.725
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.

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