We're dividing 776234 by 40 
Let's see how many times 40 fits into 776234.

Going ahead to step 1:
When dividing 7 by 40, we get 0 with a remainder of 7.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 7, we end up with 7.
Bring next digit (7) of the dividend behind the 7 and repeat the process: 77 / 40

Moving on to step 2:
When dividing 77 by 40, we get 1 with a remainder of 37.
The next digit of our result is 1. 
Result so far: 1.0
Subtract 40 from 77 to get 37.
Grab the next digit (6) from the dividend, add it to 37, then carry on: 376 / 40

Going ahead to step 3:
40 can be fit into 376 9 times, resulting in a remainder of 16.
Record the quotient 9 as the next digit in the result. 
Result so far: 19.0
Subtract 360 from 376 to get 16.
Include the next digit (2) from the dividend after 16, then repeat: 162 / 40

Step 4:
40 can be fit into 162 4 times, resulting in a remainder of 2.
The number 4 becomes the next digit in our result. 
Result so far: 194.0
The remainder is 2 after subtracting 160 from 162.
Bring next digit (3) of the dividend behind the 2 and repeat the process: 23 / 40

On to step 5:
40 goes into 23 0 times with a remainder of 23.
The number 0 becomes the next digit in our result. 
Result so far: 1940.0
Deduct 0 from 23 and we're left with 23.
Bring next digit (4) of the dividend behind the 23 and repeat the process: 234 / 40

On to step 6:
40 can be fit into 234 5 times, resulting in a remainder of 34.
Write down 5 as next digit of the result. 
Result so far: 19405.0
Subtract 200 from 234 to get 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Step 7:
If we divide 340 by 40, we get 8 and a remainder of 20.
Use 8 as the next digit of our solution. 
Result so far: 19405.8
If we take 320 away from 340, 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.

Step 8:
40 can be fit into 200 5 times, resulting in a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 19405.85
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.

Advancing to step 9:
40 goes into 0 0 times with a remainder of 0.
The next digit of our result is 0. 
Result so far: 19405.85
Subtracting 0 from 0 leaves us 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.

Let's proceed to step 10:
When dividing 0 by 40, we get 0 with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 19405.85
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 19405.85 and a remainder of 0.0.