Let's divide 2560478 by 502
We want to figure out the number of times 2560478 can be divided by 502.

Advancing to step 1:
When dividing 2 by 502, we get 0 with a remainder of 2.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 2 leaves us with 2.
Grab the next digit (5) from the dividend, add it to 2, then carry on: 25 / 502

Step 2:
502 can be fit into 25 0 times, resulting in a remainder of 25.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 25 leaves us with 25.
Include the next digit (6) from the dividend after 25, then repeat: 256 / 502

Step 3:
If we divide 256 by 502, we get 0 and a remainder of 256.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 256 after subtracting 0 from 256.
Include the next digit (0) from the dividend after 256, then repeat: 2560 / 502

Let's proceed to step 4:
502 can be fit into 2560 5 times, resulting in a remainder of 50.
Write down 5 as next digit of the result. 
Result so far: 5.0
Subtract 2510 from 2560 to get 50.
Grab the next digit (4) from the dividend, add it to 50, then carry on: 504 / 502

Step 5:
502 goes into 504 1 times with a remainder of 2.
The number 1 becomes the next digit in our result. 
Result so far: 51.0
Subtract 502 from 504 to get 2.
Include the next digit (7) from the dividend after 2, then repeat: 27 / 502

Going ahead to step 6:
502 goes into 27 0 times with a remainder of 27.
The number 0 becomes the next digit in our result. 
Result so far: 510.0
If we subtract 0 from 27, we get 27.
Bring next digit (8) of the dividend behind the 27 and repeat the process: 278 / 502

Moving on to step 7:
502 can be fit into 278 0 times, resulting in a remainder of 278.
Write down 0 as next digit of the result. 
Result so far: 5100.0
If we take 0 away from 278, we end up with 278.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2780, and continue the process.

On to step 8:
The number 502 fits into 2780 5 times, leaving a remainder of 270.
The number 5 becomes the next digit in our result. 
Result so far: 5100.5
If we take 2510 away from 2780, we end up with 270.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2700, and continue the process.

Let's proceed to step 9:
If we divide 2700 by 502, we get 5 and a remainder of 190.
The number 5 becomes the next digit in our result. 
Result so far: 5100.55
Deduct 2510 from 2700 and we're left with 190.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1900, and continue the process.

The final result is 5100.55 with a remainder of 0.19.