We divide 785918 by 40
Our goal is to divide 785918 by 40.

Step 1:
The number 40 fits into 7 0 times, leaving a remainder of 7.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 7 leaves us with 7.
Take the next digit (8) from the dividend and append it to 7, then repeat: 78 / 40

Moving on to step 2:
When dividing 78 by 40, we get 1 with a remainder of 38.
The next digit of our result is 1. 
Result so far: 1.0
Subtracting 40 from 78 leaves us with 38.
Fetch the next digit (5) from the dividend, attach it to 38 and continue: 385 / 40

Advancing to step 3:
40 goes into 385 9 times with a remainder of 25.
The number 9 becomes the next digit in our result. 
Result so far: 19.0
Subtracting 360 from 385 leaves us with 25.
Append the next digit (9) from the dividend to 25 and continue with: 259 / 40

On to step 4:
259 divided by 40 is 6 with a remainder of 19.
The number 6 becomes the next digit in our result. 
Result so far: 196.0
Deduct 240 from 259 and we're left with 19.
Fetch the next digit (1) from the dividend, attach it to 19 and continue: 191 / 40

Advancing to step 5:
The number 40 fits into 191 4 times, leaving a remainder of 31.
Record the quotient 4 as the next digit in the result. 
Result so far: 1964.0
The remainder is 31 after subtracting 160 from 191.
Append the next digit (8) from the dividend to 31 and continue with: 318 / 40

Step 6:
When dividing 318 by 40, we get 7 with a remainder of 38.
Use 7 as the next digit of our solution. 
Result so far: 19647.0
If we subtract 280 from 318, we get 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Going ahead to step 7:
If we divide 380 by 40, we get 9 and a remainder of 20.
Put 9 as the next digit of the answer. 
Result so far: 19647.9
Subtracting 360 from 380 leaves us 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.

Moving on to step 8:
40 goes into 200 5 times with a remainder of 0.
The number 5 becomes the next digit in our result. 
Result so far: 19647.95
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.

Advancing to step 9:
The number 40 fits into 0 0 times, leaving a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 19647.95
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.

Moving on to step 10:
40 can be fit into 0 0 times, resulting in a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 19647.95
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.

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