We're dividing 11978564 by 298 
Our goal is to divide 11978564 by 298.

Advancing to step 1:
The number 298 fits into 1 0 times, leaving a remainder of 1.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 1 to get 1.
Fetch the next digit (1) from the dividend, attach it to 1 and continue: 11 / 298

Step 2:
298 goes into 11 0 times with a remainder of 11.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 11 to get 11.
Include the next digit (9) from the dividend after 11, then repeat: 119 / 298

Advancing to step 3:
298 goes into 119 0 times with a remainder of 119.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 119 to get 119.
Take the next digit (7) from the dividend and append it to 119, then repeat: 1197 / 298

Advancing to step 4:
If we divide 1197 by 298, we get 4 and a remainder of 5.
Put 4 as the next digit of the answer. 
Result so far: 4.0
If we subtract 1192 from 1197, we get 5.
Bring next digit (8) of the dividend behind the 5 and repeat the process: 58 / 298

Going ahead to step 5:
58 divided by 298 is 0 with a remainder of 58.
Use 0 as the next digit of our solution. 
Result so far: 40.0
Deduct 0 from 58 and we're left with 58.
Grab the next digit (5) from the dividend, add it to 58, then carry on: 585 / 298

Advancing to step 6:
If we divide 585 by 298, we get 1 and a remainder of 287.
Use 1 as the next digit of our solution. 
Result so far: 401.0
Deduct 298 from 585 and we're left with 287.
Append the next digit (6) from the dividend to 287 and continue with: 2876 / 298

On to step 7:
If we divide 2876 by 298, we get 9 and a remainder of 194.
The next digit of our result is 9. 
Result so far: 4019.0
If we take 2682 away from 2876, we end up with 194.
Take the next digit (4) from the dividend and append it to 194, then repeat: 1944 / 298

On to step 8:
If we divide 1944 by 298, we get 6 and a remainder of 156.
The next digit of our result is 6. 
Result so far: 40196.0
The remainder is 156 after subtracting 1788 from 1944.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1560, and continue the process.

Advancing to step 9:
298 can be fit into 1560 5 times, resulting in a remainder of 70.
Put 5 as the next digit of the answer. 
Result so far: 40196.5
If we take 1490 away from 1560, we end up with 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 700, and continue the process.

On to step 10:
If we divide 700 by 298, we get 2 and a remainder of 104.
Use 2 as the next digit of our solution. 
Result so far: 40196.52
If we subtract 596 from 700, we get 104.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1040, and continue the process.

Let's proceed to step 11:
The number 298 fits into 1040 3 times, leaving a remainder of 146.
Use 3 as the next digit of our solution. 
Result so far: 40196.523
The remainder is 146 after subtracting 894 from 1040.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1460, and continue the process.

Going ahead to step 12:
If we divide 1460 by 298, we get 4 and a remainder of 268.
The number 4 becomes the next digit in our result. 
Result so far: 40196.5234
If we take 1192 away from 1460, we end up with 268.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2680, and continue the process.

Moving on to step 13:
The number 298 fits into 2680 8 times, leaving a remainder of 296.
Put 8 as the next digit of the answer. 
Result so far: 40196.52348
Subtract 2384 from 2680 to get 296.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2960, and continue the process.

Let's proceed to step 14:
If we divide 2960 by 298, we get 9 and a remainder of 278.
Record the quotient 9 as the next digit in the result. 
Result so far: 40196.523489
Subtracting 2682 from 2960 leaves us with 278.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2780, and continue the process.

On to step 15:
298 can be fit into 2780 9 times, resulting in a remainder of 98.
Write down 9 as next digit of the result. 
Result so far: 40196.5234899
Subtracting 2682 from 2780 leaves us with 98.
Since there are no more digits in the dividend, we add a zero to the remainder making it 980, and continue the process.

After the division, we end up with 40196.5234899 and a remainder of 9.8e-07.