We divide 5180949 by 778
Let's see how many times 778 fits into 5180949.

Step 1:
778 can be fit into 5 0 times, resulting in a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Append the next digit (1) from the dividend to 5 and continue with: 51 / 778

On to step 2:
When dividing 51 by 778, we get 0 with a remainder of 51.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 51, we get 51.
Append the next digit (8) from the dividend to 51 and continue with: 518 / 778

Going ahead to step 3:
If we divide 518 by 778, we get 0 and a remainder of 518.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 518, we end up with 518.
Take the next digit (0) from the dividend and append it to 518, then repeat: 5180 / 778

On to step 4:
778 goes into 5180 6 times with a remainder of 512.
Put 6 as the next digit of the answer. 
Result so far: 6.0
Subtract 4668 from 5180 to get 512.
Include the next digit (9) from the dividend after 512, then repeat: 5129 / 778

On to step 5:
If we divide 5129 by 778, we get 6 and a remainder of 461.
The number 6 becomes the next digit in our result. 
Result so far: 66.0
Subtract 4668 from 5129 to get 461.
Fetch the next digit (4) from the dividend, attach it to 461 and continue: 4614 / 778

Advancing to step 6:
When dividing 4614 by 778, we get 5 with a remainder of 724.
The next digit of our result is 5. 
Result so far: 665.0
Subtract 3890 from 4614 to get 724.
Fetch the next digit (9) from the dividend, attach it to 724 and continue: 7249 / 778

Step 7:
7249 divided by 778 is 9 with a remainder of 247.
Write down 9 as next digit of the result. 
Result so far: 6659.0
If we subtract 7002 from 7249, we get 247.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2470, and continue the process.

Moving on to step 8:
778 goes into 2470 3 times with a remainder of 136.
Use 3 as the next digit of our solution. 
Result so far: 6659.3
If we subtract 2334 from 2470, we get 136.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1360, and continue the process.

On to step 9:
If we divide 1360 by 778, we get 1 and a remainder of 582.
The next digit of our result is 1. 
Result so far: 6659.31
Subtract 778 from 1360 to get 582.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5820, and continue the process.

Let's proceed to step 10:
When dividing 5820 by 778, we get 7 with a remainder of 374.
The next digit of our result is 7. 
Result so far: 6659.317
The remainder is 374 after subtracting 5446 from 5820.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3740, and continue the process.

Advancing to step 11:
The number 778 fits into 3740 4 times, leaving a remainder of 628.
The number 4 becomes the next digit in our result. 
Result so far: 6659.3174
If we take 3112 away from 3740, we end up with 628.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6280, and continue the process.

Advancing to step 12:
778 goes into 6280 8 times with a remainder of 56.
The number 8 becomes the next digit in our result. 
Result so far: 6659.31748
Subtract 6224 from 6280 to get 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 13:
When dividing 560 by 778, we get 0 with a remainder of 560.
Write down 0 as next digit of the result. 
Result so far: 6659.31748
Subtract 0 from 560 to get 560.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5600, and continue the process.

Advancing to step 14:
The number 778 fits into 5600 7 times, leaving a remainder of 154.
Record the quotient 7 as the next digit in the result. 
Result so far: 6659.3174807
If we subtract 5446 from 5600, we get 154.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1540, and continue the process.

On to step 15:
When dividing 1540 by 778, we get 1 with a remainder of 762.
Use 1 as the next digit of our solution. 
Result so far: 6659.31748071
If we subtract 778 from 1540, we get 762.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7620, and continue the process.

The final outcome is 6659.31748071, with a leftover of 7.62e-07.