We're dividing 78814875 by 398 
Our goal is to divide 78814875 by 398.

Going ahead to step 1:
If we divide 7 by 398, we get 0 and a remainder of 7.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 7, we get 7.
Include the next digit (8) from the dividend after 7, then repeat: 78 / 398

Advancing to step 2:
The number 398 fits into 78 0 times, leaving a remainder of 78.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 78 after subtracting 0 from 78.
Include the next digit (8) from the dividend after 78, then repeat: 788 / 398

On to step 3:
The number 398 fits into 788 1 times, leaving a remainder of 390.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we take 398 away from 788, we end up with 390.
Take the next digit (1) from the dividend and append it to 390, then repeat: 3901 / 398

Going ahead to step 4:
If we divide 3901 by 398, we get 9 and a remainder of 319.
The number 9 becomes the next digit in our result. 
Result so far: 19.0
Subtract 3582 from 3901 to get 319.
Bring next digit (4) of the dividend behind the 319 and repeat the process: 3194 / 398

Moving on to step 5:
The number 398 fits into 3194 8 times, leaving a remainder of 10.
Use 8 as the next digit of our solution. 
Result so far: 198.0
Subtract 3184 from 3194 to get 10.
Bring next digit (8) of the dividend behind the 10 and repeat the process: 108 / 398

Advancing to step 6:
The number 398 fits into 108 0 times, leaving a remainder of 108.
Use 0 as the next digit of our solution. 
Result so far: 1980.0
Subtract 0 from 108 to get 108.
Take the next digit (7) from the dividend and append it to 108, then repeat: 1087 / 398

On to step 7:
If we divide 1087 by 398, we get 2 and a remainder of 291.
Record the quotient 2 as the next digit in the result. 
Result so far: 19802.0
If we subtract 796 from 1087, we get 291.
Include the next digit (5) from the dividend after 291, then repeat: 2915 / 398

Going ahead to step 8:
When dividing 2915 by 398, we get 7 with a remainder of 129.
Record the quotient 7 as the next digit in the result. 
Result so far: 198027.0
Subtracting 2786 from 2915 leaves us with 129.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1290, and continue the process.

Advancing to step 9:
If we divide 1290 by 398, we get 3 and a remainder of 96.
Record the quotient 3 as the next digit in the result. 
Result so far: 198027.3
If we subtract 1194 from 1290, we get 96.
Since there are no more digits in the dividend, we add a zero to the remainder making it 960, and continue the process.

Let's proceed to step 10:
If we divide 960 by 398, we get 2 and a remainder of 164.
Use 2 as the next digit of our solution. 
Result so far: 198027.32
Deduct 796 from 960 and we're left with 164.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1640, and continue the process.

Advancing to step 11:
When dividing 1640 by 398, we get 4 with a remainder of 48.
The next digit of our result is 4. 
Result so far: 198027.324
If we take 1592 away from 1640, we end up with 48.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

Let's proceed to step 12:
When dividing 480 by 398, we get 1 with a remainder of 82.
Use 1 as the next digit of our solution. 
Result so far: 198027.3241
Subtracting 398 from 480 leaves us with 82.
Since there are no more digits in the dividend, we add a zero to the remainder making it 820, and continue the process.

On to step 13:
If we divide 820 by 398, we get 2 and a remainder of 24.
Use 2 as the next digit of our solution. 
Result so far: 198027.32412
The remainder is 24 after subtracting 796 from 820.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Step 14:
398 can be fit into 240 0 times, resulting in a remainder of 240.
The next digit of our result is 0. 
Result so far: 198027.32412
Deduct 0 from 240 and we're left with 240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2400, and continue the process.

Advancing to step 15:
2400 divided by 398 is 6 with a remainder of 12.
The next digit of our result is 6. 
Result so far: 198027.3241206
If we subtract 2388 from 2400, we get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Step 16:
120 divided by 398 is 0 with a remainder of 120.
Record the quotient 0 as the next digit in the result. 
Result so far: 198027.3241206
If we subtract 0 from 120, we get 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1200, and continue the process.

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