Let's divide 299808 by 40
We're looking to find how many times 40 goes into 299808.

Step 1:
When dividing 2 by 40, we get 0 with a remainder of 2.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 2 leaves us with 2.
Append the next digit (9) from the dividend to 2 and continue with: 29 / 40

Step 2:
29 divided by 40 is 0 with a remainder of 29.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 29 after subtracting 0 from 29.
Take the next digit (9) from the dividend and append it to 29, then repeat: 299 / 40

Moving on to step 3:
40 can be fit into 299 7 times, resulting in a remainder of 19.
Use 7 as the next digit of our solution. 
Result so far: 7.0
Subtract 280 from 299 to get 19.
Append the next digit (8) from the dividend to 19 and continue with: 198 / 40

Let's proceed to step 4:
198 divided by 40 is 4 with a remainder of 38.
Put 4 as the next digit of the answer. 
Result so far: 74.0
Deduct 160 from 198 and we're left with 38.
Fetch the next digit (0) from the dividend, attach it to 38 and continue: 380 / 40

On to step 5:
The number 40 fits into 380 9 times, leaving a remainder of 20.
The number 9 becomes the next digit in our result. 
Result so far: 749.0
Deduct 360 from 380 and we're left with 20.
Fetch the next digit (8) from the dividend, attach it to 20 and continue: 208 / 40

Moving on to step 6:
The number 40 fits into 208 5 times, leaving a remainder of 8.
Write down 5 as next digit of the result. 
Result so far: 7495.0
If we subtract 200 from 208, we get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Let's proceed to step 7:
40 goes into 80 2 times with a remainder of 0.
Put 2 as the next digit of the answer. 
Result so far: 7495.2
The remainder is 0 after subtracting 80 from 80.
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 8:
40 can be fit into 0 0 times, resulting in a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 7495.2
The remainder is 0 after subtracting 0 from 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 9:
When dividing 0 by 40, we get 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 7495.2
The remainder is 0 after subtracting 0 from 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 result is 7495.2 with a remainder of 0.0.