Let's divide 504228 by 10
We're looking to find how many times 10 goes into 504228.

Moving on to step 1:
If we divide 5 by 10, we get 0 and a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Take the next digit (0) from the dividend and append it to 5, then repeat: 50 / 10

Going ahead to step 2:
The number 10 fits into 50 5 times, leaving a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 5.0
If we subtract 50 from 50, we get 0.
Fetch the next digit (4) from the dividend, attach it to 0 and continue: 4 / 10

Advancing to step 3:
10 can be fit into 4 0 times, resulting in a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 50.0
Subtracting 0 from 4 leaves us with 4.
Take the next digit (2) from the dividend and append it to 4, then repeat: 42 / 10

Advancing to step 4:
10 can be fit into 42 4 times, resulting in a remainder of 2.
Record the quotient 4 as the next digit in the result. 
Result so far: 504.0
Deduct 40 from 42 and we're left with 2.
Grab the next digit (2) from the dividend, add it to 2, then carry on: 22 / 10

Let's proceed to step 5:
The number 10 fits into 22 2 times, leaving a remainder of 2.
Write down 2 as next digit of the result. 
Result so far: 5042.0
Deduct 20 from 22 and we're left with 2.
Append the next digit (8) from the dividend to 2 and continue with: 28 / 10

Moving on to step 6:
10 goes into 28 2 times with a remainder of 8.
Put 2 as the next digit of the answer. 
Result so far: 50422.0
If we take 20 away from 28, we end up 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.

Going ahead to step 7:
If we divide 80 by 10, we get 8 and a remainder of 0.
Put 8 as the next digit of the answer. 
Result so far: 50422.8
Deduct 80 from 80 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.

Step 8:
If we divide 0 by 10, we get 0 and a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 50422.8
Subtract 0 from 0 to 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.

Going ahead to step 9:
10 goes into 0 0 times with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 50422.8
If we subtract 0 from 0, 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.

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