We divide 398374 by 78
Let's see how many times 78 fits into 398374.

Moving on to step 1:
If we divide 3 by 78, we get 0 and a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Bring next digit (9) of the dividend behind the 3 and repeat the process: 39 / 78

Moving on to step 2:
If we divide 39 by 78, we get 0 and a remainder of 39.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 39 and we're left with 39.
Take the next digit (8) from the dividend and append it to 39, then repeat: 398 / 78

Step 3:
398 divided by 78 is 5 with a remainder of 8.
Record the quotient 5 as the next digit in the result. 
Result so far: 5.0
Subtracting 390 from 398 leaves us with 8.
Take the next digit (3) from the dividend and append it to 8, then repeat: 83 / 78

On to step 4:
78 goes into 83 1 times with a remainder of 5.
Write down 1 as next digit of the result. 
Result so far: 51.0
Deduct 78 from 83 and we're left with 5.
Fetch the next digit (7) from the dividend, attach it to 5 and continue: 57 / 78

On to step 5:
78 goes into 57 0 times with a remainder of 57.
Use 0 as the next digit of our solution. 
Result so far: 510.0
If we take 0 away from 57, we end up with 57.
Bring next digit (4) of the dividend behind the 57 and repeat the process: 574 / 78

Step 6:
If we divide 574 by 78, we get 7 and a remainder of 28.
The next digit of our result is 7. 
Result so far: 5107.0
The remainder is 28 after subtracting 546 from 574.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Let's proceed to step 7:
When dividing 280 by 78, we get 3 with a remainder of 46.
Put 3 as the next digit of the answer. 
Result so far: 5107.3
If we subtract 234 from 280, we get 46.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

Advancing to step 8:
When dividing 460 by 78, we get 5 with a remainder of 70.
The number 5 becomes the next digit in our result. 
Result so far: 5107.35
Subtracting 390 from 460 leaves us 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.

Let's proceed to step 9:
When dividing 700 by 78, we get 8 with a remainder of 76.
The number 8 becomes the next digit in our result. 
Result so far: 5107.358
If we take 624 away from 700, we end up with 76.
Since there are no more digits in the dividend, we add a zero to the remainder making it 760, and continue the process.

Step 10:
When dividing 760 by 78, we get 9 with a remainder of 58.
Put 9 as the next digit of the answer. 
Result so far: 5107.3589
If we subtract 702 from 760, we get 58.
Since there are no more digits in the dividend, we add a zero to the remainder making it 580, and continue the process.

Moving on to step 11:
The number 78 fits into 580 7 times, leaving a remainder of 34.
The number 7 becomes the next digit in our result. 
Result so far: 5107.35897
The remainder is 34 after subtracting 546 from 580.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Advancing to step 12:
340 divided by 78 is 4 with a remainder of 28.
Put 4 as the next digit of the answer. 
Result so far: 5107.358974
If we take 312 away from 340, we end up with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Advancing to step 13:
When dividing 280 by 78, we get 3 with a remainder of 46.
The number 3 becomes the next digit in our result. 
Result so far: 5107.3589743
Subtracting 234 from 280 leaves us with 46.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

On to step 14:
The number 78 fits into 460 5 times, leaving a remainder of 70.
The next digit of our result is 5. 
Result so far: 5107.35897435
Subtract 390 from 460 to get 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 700, and continue the process.

In conclusion, the division gives 5107.35897435 with a balance of 7e-08.