Let's divide 313176 by 78
We want to divide 313176 by 78.

Moving on to step 1:
78 goes into 3 0 times with a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Include the next digit (1) from the dividend after 3, then repeat: 31 / 78

Let's proceed to step 2:
78 can be fit into 31 0 times, resulting in a remainder of 31.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 31 leaves us with 31.
Include the next digit (3) from the dividend after 31, then repeat: 313 / 78

On to step 3:
The number 78 fits into 313 4 times, leaving a remainder of 1.
Record the quotient 4 as the next digit in the result. 
Result so far: 4.0
Deduct 312 from 313 and we're left with 1.
Fetch the next digit (1) from the dividend, attach it to 1 and continue: 11 / 78

Moving on to step 4:
78 can be fit into 11 0 times, resulting in a remainder of 11.
Use 0 as the next digit of our solution. 
Result so far: 40.0
Subtract 0 from 11 to get 11.
Include the next digit (7) from the dividend after 11, then repeat: 117 / 78

On to step 5:
78 goes into 117 1 times with a remainder of 39.
The next digit of our result is 1. 
Result so far: 401.0
The remainder is 39 after subtracting 78 from 117.
Append the next digit (6) from the dividend to 39 and continue with: 396 / 78

On to step 6:
78 can be fit into 396 5 times, resulting in a remainder of 6.
The number 5 becomes the next digit in our result. 
Result so far: 4015.0
If we subtract 390 from 396, we get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Going ahead to step 7:
The number 78 fits into 60 0 times, leaving a remainder of 60.
The next digit of our result is 0. 
Result so far: 4015.0
Subtracting 0 from 60 leaves us with 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 600, and continue the process.

Moving on to step 8:
600 divided by 78 is 7 with a remainder of 54.
Use 7 as the next digit of our solution. 
Result so far: 4015.07
If we take 546 away from 600, we end up with 54.
Since there are no more digits in the dividend, we add a zero to the remainder making it 540, and continue the process.

Step 9:
The number 78 fits into 540 6 times, leaving a remainder of 72.
Record the quotient 6 as the next digit in the result. 
Result so far: 4015.076
Subtract 468 from 540 to get 72.
Since there are no more digits in the dividend, we add a zero to the remainder making it 720, and continue the process.

Moving on to step 10:
720 divided by 78 is 9 with a remainder of 18.
Record the quotient 9 as the next digit in the result. 
Result so far: 4015.0769
If we take 702 away from 720, we end up with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

On to step 11:
When dividing 180 by 78, we get 2 with a remainder of 24.
The number 2 becomes the next digit in our result. 
Result so far: 4015.07692
The remainder is 24 after subtracting 156 from 180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Let's proceed to step 12:
78 goes into 240 3 times with a remainder of 6.
Use 3 as the next digit of our solution. 
Result so far: 4015.076923
The remainder is 6 after subtracting 234 from 240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Let's proceed to step 13:
60 divided by 78 is 0 with a remainder of 60.
Put 0 as the next digit of the answer. 
Result so far: 4015.076923
Deduct 0 from 60 and we're left with 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 600, and continue the process.

Step 14:
78 can be fit into 600 7 times, resulting in a remainder of 54.
The next digit of our result is 7. 
Result so far: 4015.07692307
If we subtract 546 from 600, we get 54.
Since there are no more digits in the dividend, we add a zero to the remainder making it 540, and continue the process.

In conclusion, the division gives 4015.07692307 with a balance of 5.4e-08.