We divide 4030079 by 504
Our goal is to divide 4030079 by 504.

Moving on to step 1:
If we divide 4 by 504, we get 0 and a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Take the next digit (0) from the dividend and append it to 4, then repeat: 40 / 504

Moving on to step 2:
When dividing 40 by 504, we get 0 with a remainder of 40.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 40 after subtracting 0 from 40.
Fetch the next digit (3) from the dividend, attach it to 40 and continue: 403 / 504

Advancing to step 3:
403 divided by 504 is 0 with a remainder of 403.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 403 after subtracting 0 from 403.
Grab the next digit (0) from the dividend, add it to 403, then carry on: 4030 / 504

On to step 4:
The number 504 fits into 4030 7 times, leaving a remainder of 502.
The number 7 becomes the next digit in our result. 
Result so far: 7.0
If we take 3528 away from 4030, we end up with 502.
Take the next digit (0) from the dividend and append it to 502, then repeat: 5020 / 504

Step 5:
504 goes into 5020 9 times with a remainder of 484.
The number 9 becomes the next digit in our result. 
Result so far: 79.0
If we subtract 4536 from 5020, we get 484.
Append the next digit (7) from the dividend to 484 and continue with: 4847 / 504

Going ahead to step 6:
When dividing 4847 by 504, we get 9 with a remainder of 311.
Write down 9 as next digit of the result. 
Result so far: 799.0
If we take 4536 away from 4847, we end up with 311.
Grab the next digit (9) from the dividend, add it to 311, then carry on: 3119 / 504

Let's proceed to step 7:
504 goes into 3119 6 times with a remainder of 95.
Use 6 as the next digit of our solution. 
Result so far: 7996.0
Subtract 3024 from 3119 to get 95.
Since there are no more digits in the dividend, we add a zero to the remainder making it 950, and continue the process.

On to step 8:
504 goes into 950 1 times with a remainder of 446.
Write down 1 as next digit of the result. 
Result so far: 7996.1
If we take 504 away from 950, we end up with 446.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4460, and continue the process.

Going ahead to step 9:
4460 divided by 504 is 8 with a remainder of 428.
Put 8 as the next digit of the answer. 
Result so far: 7996.18
The remainder is 428 after subtracting 4032 from 4460.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4280, and continue the process.

Going ahead to step 10:
The number 504 fits into 4280 8 times, leaving a remainder of 248.
Use 8 as the next digit of our solution. 
Result so far: 7996.188
Subtract 4032 from 4280 to get 248.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2480, and continue the process.

Our division results in 7996.188 with a remaining 0.0248.