397277 ÷ 78 
We want to figure out the number of times 397277 can be divided by 78.

On to step 1:
When dividing 3 by 78, we get 0 with a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Fetch the next digit (9) from the dividend, attach it to 3 and continue: 39 / 78

Moving on to step 2:
When dividing 39 by 78, we get 0 with a remainder of 39.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 39 to get 39.
Grab the next digit (7) from the dividend, add it to 39, then carry on: 397 / 78

Moving on to step 3:
If we divide 397 by 78, we get 5 and a remainder of 7.
Put 5 as the next digit of the answer. 
Result so far: 5.0
Subtracting 390 from 397 leaves us with 7.
Fetch the next digit (2) from the dividend, attach it to 7 and continue: 72 / 78

Advancing to step 4:
78 can be fit into 72 0 times, resulting in a remainder of 72.
The next digit of our result is 0. 
Result so far: 50.0
If we subtract 0 from 72, we get 72.
Include the next digit (7) from the dividend after 72, then repeat: 727 / 78

Let's proceed to step 5:
If we divide 727 by 78, we get 9 and a remainder of 25.
The next digit of our result is 9. 
Result so far: 509.0
If we subtract 702 from 727, we get 25.
Grab the next digit (7) from the dividend, add it to 25, then carry on: 257 / 78

Step 6:
257 divided by 78 is 3 with a remainder of 23.
Use 3 as the next digit of our solution. 
Result so far: 5093.0
The remainder is 23 after subtracting 234 from 257.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Moving on to step 7:
The number 78 fits into 230 2 times, leaving a remainder of 74.
Put 2 as the next digit of the answer. 
Result so far: 5093.2
If we subtract 156 from 230, we get 74.
Since there are no more digits in the dividend, we add a zero to the remainder making it 740, and continue the process.

On to step 8:
If we divide 740 by 78, we get 9 and a remainder of 38.
The next digit of our result is 9. 
Result so far: 5093.29
Subtracting 702 from 740 leaves us with 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

On to step 9:
If we divide 380 by 78, we get 4 and a remainder of 68.
Use 4 as the next digit of our solution. 
Result so far: 5093.294
Deduct 312 from 380 and we're left with 68.
Since there are no more digits in the dividend, we add a zero to the remainder making it 680, and continue the process.

Step 10:
680 divided by 78 is 8 with a remainder of 56.
Write down 8 as next digit of the result. 
Result so far: 5093.2948
Deduct 624 from 680 and we're left with 56.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

Moving on to step 11:
If we divide 560 by 78, we get 7 and a remainder of 14.
Put 7 as the next digit of the answer. 
Result so far: 5093.29487
Deduct 546 from 560 and we're left with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Advancing to step 12:
140 divided by 78 is 1 with a remainder of 62.
The number 1 becomes the next digit in our result. 
Result so far: 5093.294871
Subtracting 78 from 140 leaves us with 62.
Since there are no more digits in the dividend, we add a zero to the remainder making it 620, and continue the process.

Step 13:
When dividing 620 by 78, we get 7 with a remainder of 74.
Write down 7 as next digit of the result. 
Result so far: 5093.2948717
Subtract 546 from 620 to get 74.
Since there are no more digits in the dividend, we add a zero to the remainder making it 740, and continue the process.

Let's proceed to step 14:
740 divided by 78 is 9 with a remainder of 38.
Record the quotient 9 as the next digit in the result. 
Result so far: 5093.29487179
The remainder is 38 after subtracting 702 from 740.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

In conclusion, the division gives 5093.29487179 with a balance of 3.8e-08.