Let's divide 297475 by 40
We want to divide 297475 by 40.

On to step 1:
When dividing 2 by 40, we get 0 with a remainder of 2.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 2, we get 2.
Take the next digit (9) from the dividend and append it to 2, then repeat: 29 / 40

Advancing to step 2:
When dividing 29 by 40, we get 0 with a remainder of 29.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 29 to get 29.
Include the next digit (7) from the dividend after 29, then repeat: 297 / 40

Moving on 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
Deduct 280 from 297 and we're left with 17.
Append the next digit (4) from the dividend to 17 and continue with: 174 / 40

Step 4:
174 divided by 40 is 4 with a remainder of 14.
Write down 4 as next digit of the result. 
Result so far: 74.0
Deduct 160 from 174 and we're left with 14.
Grab the next digit (7) from the dividend, add it to 14, then carry on: 147 / 40

On to step 5:
If we divide 147 by 40, we get 3 and a remainder of 27.
Use 3 as the next digit of our solution. 
Result so far: 743.0
Subtracting 120 from 147 leaves us with 27.
Append the next digit (5) from the dividend to 27 and continue with: 275 / 40

Moving on to step 6:
40 can be fit into 275 6 times, resulting in a remainder of 35.
Write down 6 as next digit of the result. 
Result so far: 7436.0
Subtract 240 from 275 to get 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Step 7:
If we divide 350 by 40, we get 8 and a remainder of 30.
Record the quotient 8 as the next digit in the result. 
Result so far: 7436.8
Subtracting 320 from 350 leaves us with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

On to step 8:
40 can be fit into 300 7 times, resulting in a remainder of 20.
Put 7 as the next digit of the answer. 
Result so far: 7436.87
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.

Advancing to step 9:
40 can be fit into 200 5 times, resulting in a remainder of 0.
The next digit of our result is 5. 
Result so far: 7436.875
The remainder is 0 after subtracting 200 from 200.
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 10:
When dividing 0 by 40, we get 0 with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 7436.875
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.

Advancing to step 11:
40 goes into 0 0 times with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 7436.875
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.

Our division results in 7436.875 with a remaining 0.0.