778436 divided by 40 
We want to divide 778436 by 40.

Let's proceed to step 1:
When dividing 7 by 40, we get 0 with a remainder of 7.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 7 after subtracting 0 from 7.
Include the next digit (7) from the dividend after 7, then repeat: 77 / 40

Going ahead to step 2:
When dividing 77 by 40, we get 1 with a remainder of 37.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we take 40 away from 77, we end up with 37.
Fetch the next digit (8) from the dividend, attach it to 37 and continue: 378 / 40

Going ahead to step 3:
If we divide 378 by 40, we get 9 and a remainder of 18.
Use 9 as the next digit of our solution. 
Result so far: 19.0
Subtracting 360 from 378 leaves us with 18.
Fetch the next digit (4) from the dividend, attach it to 18 and continue: 184 / 40

Moving on to step 4:
184 divided by 40 is 4 with a remainder of 24.
The number 4 becomes the next digit in our result. 
Result so far: 194.0
The remainder is 24 after subtracting 160 from 184.
Append the next digit (3) from the dividend to 24 and continue with: 243 / 40

Going ahead to step 5:
40 can be fit into 243 6 times, resulting in a remainder of 3.
Record the quotient 6 as the next digit in the result. 
Result so far: 1946.0
Deduct 240 from 243 and we're left with 3.
Take the next digit (6) from the dividend and append it to 3, then repeat: 36 / 40

Moving on to step 6:
40 goes into 36 0 times with a remainder of 36.
The number 0 becomes the next digit in our result. 
Result so far: 19460.0
The remainder is 36 after subtracting 0 from 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Step 7:
40 goes into 360 9 times with a remainder of 0.
Write down 9 as next digit of the result. 
Result so far: 19460.9
If we take 360 away from 360, 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.

On to step 8:
40 can be fit into 0 0 times, resulting in a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 19460.9
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.

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: 19460.9
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.

In conclusion, the division gives 19460.9 with a balance of 0.0.