We're dividing 64540565 by 504 
Let's see how many times 504 fits into 64540565.

Step 1:
The number 504 fits into 6 0 times, leaving a remainder of 6.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 6, we end up with 6.
Take the next digit (4) from the dividend and append it to 6, then repeat: 64 / 504

Going ahead to step 2:
504 goes into 64 0 times with a remainder of 64.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 64 leaves us with 64.
Include the next digit (5) from the dividend after 64, then repeat: 645 / 504

Step 3:
504 goes into 645 1 times with a remainder of 141.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we subtract 504 from 645, we get 141.
Append the next digit (4) from the dividend to 141 and continue with: 1414 / 504

Moving on to step 4:
504 goes into 1414 2 times with a remainder of 406.
Put 2 as the next digit of the answer. 
Result so far: 12.0
Subtract 1008 from 1414 to get 406.
Include the next digit (0) from the dividend after 406, then repeat: 4060 / 504

Let's proceed to step 5:
If we divide 4060 by 504, we get 8 and a remainder of 28.
Write down 8 as next digit of the result. 
Result so far: 128.0
Deduct 4032 from 4060 and we're left with 28.
Append the next digit (5) from the dividend to 28 and continue with: 285 / 504

On to step 6:
If we divide 285 by 504, we get 0 and a remainder of 285.
Use 0 as the next digit of our solution. 
Result so far: 1280.0
If we take 0 away from 285, we end up with 285.
Bring next digit (6) of the dividend behind the 285 and repeat the process: 2856 / 504

Advancing to step 7:
The number 504 fits into 2856 5 times, leaving a remainder of 336.
The number 5 becomes the next digit in our result. 
Result so far: 12805.0
If we take 2520 away from 2856, we end up with 336.
Include the next digit (5) from the dividend after 336, then repeat: 3365 / 504

Let's proceed to step 8:
The number 504 fits into 3365 6 times, leaving a remainder of 341.
The next digit of our result is 6. 
Result so far: 128056.0
Subtracting 3024 from 3365 leaves us with 341.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3410, and continue the process.

Going ahead to step 9:
If we divide 3410 by 504, we get 6 and a remainder of 386.
Record the quotient 6 as the next digit in the result. 
Result so far: 128056.6
The remainder is 386 after subtracting 3024 from 3410.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3860, and continue the process.

Step 10:
504 can be fit into 3860 7 times, resulting in a remainder of 332.
The number 7 becomes the next digit in our result. 
Result so far: 128056.67
Deduct 3528 from 3860 and we're left with 332.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3320, and continue the process.

On to step 11:
3320 divided by 504 is 6 with a remainder of 296.
The next digit of our result is 6. 
Result so far: 128056.676
Subtracting 3024 from 3320 leaves us with 296.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2960, and continue the process.

Moving on to step 12:
504 can be fit into 2960 5 times, resulting in a remainder of 440.
The number 5 becomes the next digit in our result. 
Result so far: 128056.6765
Subtract 2520 from 2960 to get 440.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4400, and continue the process.

Advancing to step 13:
The number 504 fits into 4400 8 times, leaving a remainder of 368.
Put 8 as the next digit of the answer. 
Result so far: 128056.67658
Subtracting 4032 from 4400 leaves us with 368.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3680, and continue the process.

Advancing to step 14:
If we divide 3680 by 504, we get 7 and a remainder of 152.
Put 7 as the next digit of the answer. 
Result so far: 128056.676587
If we subtract 3528 from 3680, we get 152.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1520, and continue the process.

Moving on to step 15:
1520 divided by 504 is 3 with a remainder of 8.
Put 3 as the next digit of the answer. 
Result so far: 128056.6765873
Subtract 1512 from 1520 to get 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 16:
The number 504 fits into 80 0 times, leaving a remainder of 80.
The next digit of our result is 0. 
Result so far: 128056.6765873
The remainder is 80 after subtracting 0 from 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 800, and continue the process.

Our division results in 128056.6765873 with a remaining 8e-08.