We look at the division of 778324 by 40 
Our goal is to divide 778324 by 40.

Let's proceed to step 1:
40 can be fit into 7 0 times, resulting in a remainder of 7.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 7 and we're left with 7.
Bring next digit (7) of the dividend behind the 7 and repeat the process: 77 / 40

Advancing to step 2:
If we divide 77 by 40, we get 1 and a remainder of 37.
Put 1 as the next digit of the answer. 
Result so far: 1.0
The remainder is 37 after subtracting 40 from 77.
Grab the next digit (8) from the dividend, add it to 37, then carry on: 378 / 40

Let's proceed to step 3:
378 divided by 40 is 9 with a remainder of 18.
The next digit of our result is 9. 
Result so far: 19.0
If we subtract 360 from 378, we get 18.
Include the next digit (3) from the dividend after 18, then repeat: 183 / 40

Step 4:
When dividing 183 by 40, we get 4 with a remainder of 23.
The next digit of our result is 4. 
Result so far: 194.0
The remainder is 23 after subtracting 160 from 183.
Append the next digit (2) from the dividend to 23 and continue with: 232 / 40

Advancing to step 5:
When dividing 232 by 40, we get 5 with a remainder of 32.
Record the quotient 5 as the next digit in the result. 
Result so far: 1945.0
Subtract 200 from 232 to get 32.
Fetch the next digit (4) from the dividend, attach it to 32 and continue: 324 / 40

Advancing to step 6:
40 can be fit into 324 8 times, resulting in a remainder of 4.
Use 8 as the next digit of our solution. 
Result so far: 19458.0
Subtract 320 from 324 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Let's proceed to step 7:
40 divided by 40 is 1 with a remainder of 0.
Write down 1 as next digit of the result. 
Result so far: 19458.1
The remainder is 0 after subtracting 40 from 40.
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 8:
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: 19458.1
If we take 0 away from 0, we end up 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.

Moving on to step 9:
40 can be fit into 0 0 times, resulting in a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 19458.1
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.

After the division, we end up with 19458.1 and a remainder of 0.0.