7228871 ÷ 504 
Our goal is to divide 7228871 by 504.

On to step 1:
If we divide 7 by 504, we get 0 and a remainder of 7.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 7 after subtracting 0 from 7.
Include the next digit (2) from the dividend after 7, then repeat: 72 / 504

Let's proceed to step 2:
504 goes into 72 0 times with a remainder of 72.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 72 after subtracting 0 from 72.
Include the next digit (2) from the dividend after 72, then repeat: 722 / 504

On to step 3:
722 divided by 504 is 1 with a remainder of 218.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Deduct 504 from 722 and we're left with 218.
Grab the next digit (8) from the dividend, add it to 218, then carry on: 2188 / 504

Advancing to step 4:
If we divide 2188 by 504, we get 4 and a remainder of 172.
Write down 4 as next digit of the result. 
Result so far: 14.0
Subtracting 2016 from 2188 leaves us with 172.
Fetch the next digit (8) from the dividend, attach it to 172 and continue: 1728 / 504

On to step 5:
When dividing 1728 by 504, we get 3 with a remainder of 216.
Put 3 as the next digit of the answer. 
Result so far: 143.0
Subtracting 1512 from 1728 leaves us with 216.
Take the next digit (7) from the dividend and append it to 216, then repeat: 2167 / 504

On to step 6:
When dividing 2167 by 504, we get 4 with a remainder of 151.
Record the quotient 4 as the next digit in the result. 
Result so far: 1434.0
If we take 2016 away from 2167, we end up with 151.
Append the next digit (1) from the dividend to 151 and continue with: 1511 / 504

Step 7:
The number 504 fits into 1511 2 times, leaving a remainder of 503.
Record the quotient 2 as the next digit in the result. 
Result so far: 14342.0
If we take 1008 away from 1511, we end up with 503.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5030, and continue the process.

Let's proceed to step 8:
When dividing 5030 by 504, we get 9 with a remainder of 494.
Write down 9 as next digit of the result. 
Result so far: 14342.9
If we subtract 4536 from 5030, we get 494.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4940, and continue the process.

Step 9:
504 can be fit into 4940 9 times, resulting in a remainder of 404.
Write down 9 as next digit of the result. 
Result so far: 14342.99
The remainder is 404 after subtracting 4536 from 4940.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4040, and continue the process.

The final result is 14342.99 with a remainder of 0.404.