We look at the division of 297490 by 40 
We're looking to find how many times 40 goes into 297490.

Let's proceed to step 1:
40 goes into 2 0 times with a remainder of 2.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 2 and we're left with 2.
Take the next digit (9) from the dividend and append it to 2, then repeat: 29 / 40

Step 2:
When dividing 29 by 40, we get 0 with a remainder of 29.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 29 after subtracting 0 from 29.
Fetch the next digit (7) from the dividend, attach it to 29 and continue: 297 / 40

Going ahead to step 3:
40 goes into 297 7 times with a remainder of 17.
Write down 7 as next digit of the result. 
Result so far: 7.0
Deduct 280 from 297 and we're left with 17.
Grab the next digit (4) from the dividend, add it to 17, then carry on: 174 / 40

Moving on to step 4:
174 divided by 40 is 4 with a remainder of 14.
Put 4 as the next digit of the answer. 
Result so far: 74.0
Subtract 160 from 174 to get 14.
Fetch the next digit (9) from the dividend, attach it to 14 and continue: 149 / 40

On to step 5:
If we divide 149 by 40, we get 3 and a remainder of 29.
Record the quotient 3 as the next digit in the result. 
Result so far: 743.0
If we take 120 away from 149, we end up with 29.
Take the next digit (0) from the dividend and append it to 29, then repeat: 290 / 40

Step 6:
40 can be fit into 290 7 times, resulting in a remainder of 10.
The next digit of our result is 7. 
Result so far: 7437.0
Subtract 280 from 290 to get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Going ahead to step 7:
40 goes into 100 2 times with a remainder of 20.
The next digit of our result is 2. 
Result so far: 7437.2
Subtract 80 from 100 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 8:
200 divided by 40 is 5 with a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 7437.25
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:
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: 7437.25
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:
The number 40 fits into 0 0 times, leaving a remainder of 0.
The next digit of our result is 0. 
Result so far: 7437.25
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.

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