We divide 4190827 by 504
We want to divide 4190827 by 504.

Going ahead to step 1:
4 divided by 504 is 0 with a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 4 to get 4.
Take the next digit (1) from the dividend and append it to 4, then repeat: 41 / 504

Moving on to step 2:
504 goes into 41 0 times with a remainder of 41.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 41 leaves us with 41.
Take the next digit (9) from the dividend and append it to 41, then repeat: 419 / 504

On to step 3:
If we divide 419 by 504, we get 0 and a remainder of 419.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 419, we end up with 419.
Fetch the next digit (0) from the dividend, attach it to 419 and continue: 4190 / 504

On to step 4:
504 goes into 4190 8 times with a remainder of 158.
Put 8 as the next digit of the answer. 
Result so far: 8.0
The remainder is 158 after subtracting 4032 from 4190.
Bring next digit (8) of the dividend behind the 158 and repeat the process: 1588 / 504

Advancing to step 5:
504 goes into 1588 3 times with a remainder of 76.
The next digit of our result is 3. 
Result so far: 83.0
Subtracting 1512 from 1588 leaves us with 76.
Append the next digit (2) from the dividend to 76 and continue with: 762 / 504

Moving on to step 6:
The number 504 fits into 762 1 times, leaving a remainder of 258.
Put 1 as the next digit of the answer. 
Result so far: 831.0
Subtract 504 from 762 to get 258.
Take the next digit (7) from the dividend and append it to 258, then repeat: 2587 / 504

On to step 7:
504 can be fit into 2587 5 times, resulting in a remainder of 67.
Use 5 as the next digit of our solution. 
Result so far: 8315.0
Subtracting 2520 from 2587 leaves us with 67.
Since there are no more digits in the dividend, we add a zero to the remainder making it 670, and continue the process.

Advancing to step 8:
The number 504 fits into 670 1 times, leaving a remainder of 166.
Write down 1 as next digit of the result. 
Result so far: 8315.1
Deduct 504 from 670 and we're left with 166.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1660, and continue the process.

Step 9:
The number 504 fits into 1660 3 times, leaving a remainder of 148.
The number 3 becomes the next digit in our result. 
Result so far: 8315.13
Deduct 1512 from 1660 and we're left with 148.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1480, and continue the process.

Advancing to step 10:
When dividing 1480 by 504, we get 2 with a remainder of 472.
Put 2 as the next digit of the answer. 
Result so far: 8315.132
Subtract 1008 from 1480 to get 472.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4720, and continue the process.

Step 11:
504 goes into 4720 9 times with a remainder of 184.
Use 9 as the next digit of our solution. 
Result so far: 8315.1329
Subtract 4536 from 4720 to get 184.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1840, and continue the process.

Step 12:
504 can be fit into 1840 3 times, resulting in a remainder of 328.
Record the quotient 3 as the next digit in the result. 
Result so far: 8315.13293
Deduct 1512 from 1840 and we're left with 328.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3280, and continue the process.

Going ahead to step 13:
3280 divided by 504 is 6 with a remainder of 256.
Put 6 as the next digit of the answer. 
Result so far: 8315.132936
Deduct 3024 from 3280 and we're left with 256.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2560, and continue the process.

Step 14:
504 goes into 2560 5 times with a remainder of 40.
Write down 5 as next digit of the result. 
Result so far: 8315.1329365
If we subtract 2520 from 2560, we get 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Let's proceed to step 15:
400 divided by 504 is 0 with a remainder of 400.
Put 0 as the next digit of the answer. 
Result so far: 8315.1329365
If we take 0 away from 400, we end up with 400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4000, and continue the process.

The final outcome is 8315.1329365, with a leftover of 4e-07.