We divide 40047278 by 298
Let's see how many times 298 fits into 40047278.

On to step 1:
The number 298 fits into 4 0 times, leaving a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 4, we get 4.
Append the next digit (0) from the dividend to 4 and continue with: 40 / 298

Advancing to step 2:
If we divide 40 by 298, we get 0 and a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 40, we end up with 40.
Fetch the next digit (0) from the dividend, attach it to 40 and continue: 400 / 298

Moving on to step 3:
If we divide 400 by 298, we get 1 and a remainder of 102.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we subtract 298 from 400, we get 102.
Take the next digit (4) from the dividend and append it to 102, then repeat: 1024 / 298

Going ahead to step 4:
If we divide 1024 by 298, we get 3 and a remainder of 130.
Record the quotient 3 as the next digit in the result. 
Result so far: 13.0
Subtract 894 from 1024 to get 130.
Append the next digit (7) from the dividend to 130 and continue with: 1307 / 298

Going ahead to step 5:
1307 divided by 298 is 4 with a remainder of 115.
Write down 4 as next digit of the result. 
Result so far: 134.0
Deduct 1192 from 1307 and we're left with 115.
Include the next digit (2) from the dividend after 115, then repeat: 1152 / 298

Let's proceed to step 6:
1152 divided by 298 is 3 with a remainder of 258.
Put 3 as the next digit of the answer. 
Result so far: 1343.0
The remainder is 258 after subtracting 894 from 1152.
Grab the next digit (7) from the dividend, add it to 258, then carry on: 2587 / 298

On to step 7:
298 goes into 2587 8 times with a remainder of 203.
Put 8 as the next digit of the answer. 
Result so far: 13438.0
Subtracting 2384 from 2587 leaves us with 203.
Grab the next digit (8) from the dividend, add it to 203, then carry on: 2038 / 298

Step 8:
If we divide 2038 by 298, we get 6 and a remainder of 250.
Write down 6 as next digit of the result. 
Result so far: 134386.0
If we take 1788 away from 2038, we end up with 250.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2500, and continue the process.

Going ahead to step 9:
298 can be fit into 2500 8 times, resulting in a remainder of 116.
The next digit of our result is 8. 
Result so far: 134386.8
If we subtract 2384 from 2500, we get 116.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1160, and continue the process.

Step 10:
1160 divided by 298 is 3 with a remainder of 266.
Write down 3 as next digit of the result. 
Result so far: 134386.83
Subtract 894 from 1160 to get 266.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2660, and continue the process.

Advancing to step 11:
298 can be fit into 2660 8 times, resulting in a remainder of 276.
Record the quotient 8 as the next digit in the result. 
Result so far: 134386.838
Deduct 2384 from 2660 and we're left with 276.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2760, and continue the process.

On to step 12:
The number 298 fits into 2760 9 times, leaving a remainder of 78.
Write down 9 as next digit of the result. 
Result so far: 134386.8389
The remainder is 78 after subtracting 2682 from 2760.
Since there are no more digits in the dividend, we add a zero to the remainder making it 780, and continue the process.

On to step 13:
780 divided by 298 is 2 with a remainder of 184.
Write down 2 as next digit of the result. 
Result so far: 134386.83892
Subtract 596 from 780 to get 184.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1840, and continue the process.

Let's proceed to step 14:
298 can be fit into 1840 6 times, resulting in a remainder of 52.
Record the quotient 6 as the next digit in the result. 
Result so far: 134386.838926
Subtract 1788 from 1840 to get 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

Moving on to step 15:
If we divide 520 by 298, we get 1 and a remainder of 222.
Put 1 as the next digit of the answer. 
Result so far: 134386.8389261
If we take 298 away from 520, we end up with 222.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2220, and continue the process.

Going ahead to step 16:
2220 divided by 298 is 7 with a remainder of 134.
The number 7 becomes the next digit in our result. 
Result so far: 134386.83892617
The remainder is 134 after subtracting 2086 from 2220.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1340, and continue the process.

In conclusion, the division gives 134386.83892617 with a balance of 1.34e-07.