297708 ÷ 40 
We want to figure out the number of times 297708 can be divided by 40.

Going ahead to step 1:
40 can be fit into 2 0 times, resulting in a remainder of 2.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 2 to get 2.
Include the next digit (9) from the dividend after 2, then repeat: 29 / 40

Step 2:
When dividing 29 by 40, we get 0 with a remainder of 29.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 29 after subtracting 0 from 29.
Grab the next digit (7) from the dividend, add it to 29, then carry on: 297 / 40

Going ahead to step 3:
297 divided by 40 is 7 with a remainder of 17.
Record the quotient 7 as the next digit in the result. 
Result so far: 7.0
Subtract 280 from 297 to get 17.
Fetch the next digit (7) from the dividend, attach it to 17 and continue: 177 / 40

Advancing to step 4:
The number 40 fits into 177 4 times, leaving a remainder of 17.
Put 4 as the next digit of the answer. 
Result so far: 74.0
If we take 160 away from 177, we end up with 17.
Grab the next digit (0) from the dividend, add it to 17, then carry on: 170 / 40

On to step 5:
40 goes into 170 4 times with a remainder of 10.
The next digit of our result is 4. 
Result so far: 744.0
Subtract 160 from 170 to get 10.
Append the next digit (8) from the dividend to 10 and continue with: 108 / 40

Let's proceed to step 6:
40 can be fit into 108 2 times, resulting in a remainder of 28.
Record the quotient 2 as the next digit in the result. 
Result so far: 7442.0
Subtracting 80 from 108 leaves us with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Advancing to step 7:
If we divide 280 by 40, we get 7 and a remainder of 0.
Put 7 as the next digit of the answer. 
Result so far: 7442.7
Subtract 280 from 280 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 8:
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: 7442.7
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 9:
40 can be fit into 0 0 times, resulting in a remainder of 0.
The next digit of our result is 0. 
Result so far: 7442.7
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 quotient of the division is 7442.7, and the remainder is 0.0.