We divide 764299 by 40
Let's see how many times 40 fits into 764299.

Going ahead to step 1:
40 can be fit into 7 0 times, resulting in a remainder of 7.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 7, we end up with 7.
Bring next digit (6) of the dividend behind the 7 and repeat the process: 76 / 40

On to step 2:
The number 40 fits into 76 1 times, leaving a remainder of 36.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
If we take 40 away from 76, we end up with 36.
Take the next digit (4) from the dividend and append it to 36, then repeat: 364 / 40

On to step 3:
364 divided by 40 is 9 with a remainder of 4.
Put 9 as the next digit of the answer. 
Result so far: 19.0
The remainder is 4 after subtracting 360 from 364.
Take the next digit (2) from the dividend and append it to 4, then repeat: 42 / 40

Moving on to step 4:
40 goes into 42 1 times with a remainder of 2.
Put 1 as the next digit of the answer. 
Result so far: 191.0
Subtract 40 from 42 to get 2.
Fetch the next digit (9) from the dividend, attach it to 2 and continue: 29 / 40

Moving on to step 5:
When dividing 29 by 40, we get 0 with a remainder of 29.
Use 0 as the next digit of our solution. 
Result so far: 1910.0
If we take 0 away from 29, we end up with 29.
Fetch the next digit (9) from the dividend, attach it to 29 and continue: 299 / 40

On to step 6:
The number 40 fits into 299 7 times, leaving a remainder of 19.
Use 7 as the next digit of our solution. 
Result so far: 19107.0
Subtract 280 from 299 to get 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Step 7:
190 divided by 40 is 4 with a remainder of 30.
Use 4 as the next digit of our solution. 
Result so far: 19107.4
Subtract 160 from 190 to get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Moving on to step 8:
If we divide 300 by 40, we get 7 and a remainder of 20.
Record the quotient 7 as the next digit in the result. 
Result so far: 19107.47
Subtract 280 from 300 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.

Step 9:
200 divided by 40 is 5 with a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 19107.475
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.

On 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: 19107.475
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.

Let's proceed to step 11:
If we divide 0 by 40, we get 0 and a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 19107.475
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.

The final outcome is 19107.475, with a leftover of 0.0.