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

Let's proceed to step 1:
7 divided by 40 is 0 with a remainder of 7.
The next digit of our result is 0. 
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

Let's proceed to step 2:
40 goes into 77 1 times with a remainder of 37.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Subtracting 40 from 77 leaves us with 37.
Fetch the next digit (0) from the dividend, attach it to 37 and continue: 370 / 40

Let's proceed to step 3:
40 goes into 370 9 times with a remainder of 10.
Record the quotient 9 as the next digit in the result. 
Result so far: 19.0
Deduct 360 from 370 and we're left with 10.
Grab the next digit (3) from the dividend, add it to 10, then carry on: 103 / 40

Step 4:
The number 40 fits into 103 2 times, leaving a remainder of 23.
Use 2 as the next digit of our solution. 
Result so far: 192.0
If we subtract 80 from 103, we get 23.
Grab the next digit (7) from the dividend, add it to 23, then carry on: 237 / 40

Let's proceed to step 5:
The number 40 fits into 237 5 times, leaving a remainder of 37.
The next digit of our result is 5. 
Result so far: 1925.0
If we subtract 200 from 237, we get 37.
Append the next digit (7) from the dividend to 37 and continue with: 377 / 40

Advancing to step 6:
If we divide 377 by 40, we get 9 and a remainder of 17.
Put 9 as the next digit of the answer. 
Result so far: 19259.0
If we subtract 360 from 377, we get 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Going ahead to step 7:
When dividing 170 by 40, we get 4 with a remainder of 10.
The next digit of our result is 4. 
Result so far: 19259.4
The remainder is 10 after subtracting 160 from 170.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

On to step 8:
100 divided by 40 is 2 with a remainder of 20.
Put 2 as the next digit of the answer. 
Result so far: 19259.42
Subtract 80 from 100 to get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Let's proceed to step 9:
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: 19259.425
Subtract 200 from 200 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.

Going ahead to step 10:
The number 40 fits into 0 0 times, leaving a remainder of 0.
The next digit of our result is 0. 
Result so far: 19259.425
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 11:
If we divide 0 by 40, we get 0 and a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 19259.425
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.

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