Let's divide 770458 by 40
We want to divide 770458 by 40.

Step 1:
40 goes into 7 0 times with a remainder of 7.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 7 to get 7.
Grab the next digit (7) from the dividend, add it to 7, then carry on: 77 / 40

Advancing to step 2:
40 can be fit into 77 1 times, resulting in a remainder of 37.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Subtracting 40 from 77 leaves us with 37.
Append the next digit (0) from the dividend to 37 and continue with: 370 / 40

Let's proceed to step 3:
40 goes into 370 9 times with a remainder of 10.
The next digit of our result is 9. 
Result so far: 19.0
Deduct 360 from 370 and we're left with 10.
Include the next digit (4) from the dividend after 10, then repeat: 104 / 40

Moving on to step 4:
When dividing 104 by 40, we get 2 with a remainder of 24.
Use 2 as the next digit of our solution. 
Result so far: 192.0
Subtracting 80 from 104 leaves us with 24.
Bring next digit (5) of the dividend behind the 24 and repeat the process: 245 / 40

Advancing to step 5:
40 goes into 245 6 times with a remainder of 5.
Put 6 as the next digit of the answer. 
Result so far: 1926.0
The remainder is 5 after subtracting 240 from 245.
Append the next digit (8) from the dividend to 5 and continue with: 58 / 40

Step 6:
40 can be fit into 58 1 times, resulting in a remainder of 18.
Record the quotient 1 as the next digit in the result. 
Result so far: 19261.0
Subtracting 40 from 58 leaves us with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

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

On to step 8:
If we divide 200 by 40, we get 5 and a remainder of 0.
The next digit of our result is 5. 
Result so far: 19261.45
Subtracting 200 from 200 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 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: 19261.45
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 10:
0 divided by 40 is 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 19261.45
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.

Our division results in 19261.45 with a remaining 0.0.