40049144 divided by 297 
Our goal is to divide 40049144 by 297.

Step 1:
4 divided by 297 is 0 with a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 4 and we're left with 4.
Fetch the next digit (0) from the dividend, attach it to 4 and continue: 40 / 297

On to step 2:
40 divided by 297 is 0 with a remainder of 40.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 40 to get 40.
Take the next digit (0) from the dividend and append it to 40, then repeat: 400 / 297

On to step 3:
When dividing 400 by 297, we get 1 with a remainder of 103.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Subtracting 297 from 400 leaves us with 103.
Fetch the next digit (4) from the dividend, attach it to 103 and continue: 1034 / 297

Going ahead to step 4:
If we divide 1034 by 297, we get 3 and a remainder of 143.
Record the quotient 3 as the next digit in the result. 
Result so far: 13.0
If we subtract 891 from 1034, we get 143.
Fetch the next digit (9) from the dividend, attach it to 143 and continue: 1439 / 297

Going ahead to step 5:
If we divide 1439 by 297, we get 4 and a remainder of 251.
Record the quotient 4 as the next digit in the result. 
Result so far: 134.0
Subtract 1188 from 1439 to get 251.
Append the next digit (1) from the dividend to 251 and continue with: 2511 / 297

Advancing to step 6:
297 can be fit into 2511 8 times, resulting in a remainder of 135.
Write down 8 as next digit of the result. 
Result so far: 1348.0
Subtract 2376 from 2511 to get 135.
Append the next digit (4) from the dividend to 135 and continue with: 1354 / 297

Let's proceed to step 7:
When dividing 1354 by 297, we get 4 with a remainder of 166.
Record the quotient 4 as the next digit in the result. 
Result so far: 13484.0
Deduct 1188 from 1354 and we're left with 166.
Bring next digit (4) of the dividend behind the 166 and repeat the process: 1664 / 297

On to step 8:
When dividing 1664 by 297, we get 5 with a remainder of 179.
Put 5 as the next digit of the answer. 
Result so far: 134845.0
Deduct 1485 from 1664 and we're left with 179.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1790, and continue the process.

Advancing to step 9:
297 can be fit into 1790 6 times, resulting in a remainder of 8.
The next digit of our result is 6. 
Result so far: 134845.6
If we subtract 1782 from 1790, 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.

Advancing to step 10:
If we divide 80 by 297, we get 0 and a remainder of 80.
Write down 0 as next digit of the result. 
Result so far: 134845.6
If we subtract 0 from 80, we get 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 800, and continue the process.

Let's proceed to step 11:
If we divide 800 by 297, we get 2 and a remainder of 206.
Record the quotient 2 as the next digit in the result. 
Result so far: 134845.602
Deduct 594 from 800 and we're left with 206.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2060, and continue the process.

On to step 12:
297 goes into 2060 6 times with a remainder of 278.
Record the quotient 6 as the next digit in the result. 
Result so far: 134845.6026
If we subtract 1782 from 2060, we get 278.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2780, and continue the process.

Let's proceed to step 13:
297 can be fit into 2780 9 times, resulting in a remainder of 107.
Write down 9 as next digit of the result. 
Result so far: 134845.60269
Subtract 2673 from 2780 to get 107.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1070, and continue the process.

Moving on to step 14:
297 can be fit into 1070 3 times, resulting in a remainder of 179.
The next digit of our result is 3. 
Result so far: 134845.602693
If we subtract 891 from 1070, we get 179.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1790, and continue the process.

Moving on to step 15:
1790 divided by 297 is 6 with a remainder of 8.
Put 6 as the next digit of the answer. 
Result so far: 134845.6026936
Deduct 1782 from 1790 and we're left with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Going ahead to step 16:
When dividing 80 by 297, we get 0 with a remainder of 80.
Use 0 as the next digit of our solution. 
Result so far: 134845.6026936
Subtract 0 from 80 to get 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 800, and continue the process.

In conclusion, the division gives 134845.6026936 with a balance of 8e-08.