297698 ÷ 40 
We're looking to find how many times 40 goes into 297698.

Step 1:
The number 40 fits into 2 0 times, leaving a remainder of 2.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 2, we end up with 2.
Take the next digit (9) from the dividend and append it to 2, then repeat: 29 / 40

Moving on to step 2:
The number 40 fits into 29 0 times, leaving 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 (7) from the dividend and append it to 29, then repeat: 297 / 40

Let's proceed to step 3:
The number 40 fits into 297 7 times, leaving a remainder of 17.
The next digit of our result is 7. 
Result so far: 7.0
Subtract 280 from 297 to get 17.
Append the next digit (6) from the dividend to 17 and continue with: 176 / 40

Step 4:
The number 40 fits into 176 4 times, leaving a remainder of 16.
Use 4 as the next digit of our solution. 
Result so far: 74.0
Subtract 160 from 176 to get 16.
Append the next digit (9) from the dividend to 16 and continue with: 169 / 40

Going ahead to step 5:
40 goes into 169 4 times with a remainder of 9.
The next digit of our result is 4. 
Result so far: 744.0
If we take 160 away from 169, we end up with 9.
Take the next digit (8) from the dividend and append it to 9, then repeat: 98 / 40

Let's proceed to step 6:
The number 40 fits into 98 2 times, leaving a remainder of 18.
Write down 2 as next digit of the result. 
Result so far: 7442.0
Subtracting 80 from 98 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.

Let's proceed to step 7:
When dividing 180 by 40, we get 4 with a remainder of 20.
Record the quotient 4 as the next digit in the result. 
Result so far: 7442.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:
200 divided by 40 is 5 with a remainder of 0.
The number 5 becomes the next digit in our result. 
Result so far: 7442.45
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 9:
40 goes into 0 0 times with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 7442.45
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.

On to step 10:
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: 7442.45
If we subtract 0 from 0, 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.

The final result is 7442.45 with a remainder of 0.0.