Let's divide 504878 by 10
Let's see how many times 10 fits into 504878.

Moving on to step 1:
The number 10 fits into 5 0 times, leaving a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Grab the next digit (0) from the dividend, add it to 5, then carry on: 50 / 10

Step 2:
When dividing 50 by 10, we get 5 with a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 5.0
Subtract 50 from 50 to get 0.
Bring next digit (4) of the dividend behind the 0 and repeat the process: 4 / 10

On to step 3:
4 divided by 10 is 0 with a remainder of 4.
Record the quotient 0 as the next digit in the result. 
Result so far: 50.0
If we subtract 0 from 4, we get 4.
Append the next digit (8) from the dividend to 4 and continue with: 48 / 10

On to step 4:
10 goes into 48 4 times with a remainder of 8.
The number 4 becomes the next digit in our result. 
Result so far: 504.0
If we take 40 away from 48, we end up with 8.
Grab the next digit (7) from the dividend, add it to 8, then carry on: 87 / 10

Going ahead to step 5:
The number 10 fits into 87 8 times, leaving a remainder of 7.
Put 8 as the next digit of the answer. 
Result so far: 5048.0
The remainder is 7 after subtracting 80 from 87.
Bring next digit (8) of the dividend behind the 7 and repeat the process: 78 / 10

Step 6:
78 divided by 10 is 7 with a remainder of 8.
Record the quotient 7 as the next digit in the result. 
Result so far: 50487.0
Deduct 70 from 78 and we're left with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Step 7:
10 goes into 80 8 times with a remainder of 0.
Record the quotient 8 as the next digit in the result. 
Result so far: 50487.8
If we subtract 80 from 80, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Moving on to step 8:
When dividing 0 by 10, we get 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 50487.8
If we take 0 away from 0, we end up with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Moving on to step 9:
When dividing 0 by 10, we get 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 50487.8
Deduct 0 from 0 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

After the division, we end up with 50487.8 and a remainder of 0.0.