Let's divide 25158478 by 502
We want to divide 25158478 by 502.

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.
Include the next digit (5) from the dividend after 2, then repeat: 25 / 502

Going ahead to step 2:
The number 502 fits into 25 0 times, leaving a remainder of 25.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 25 and we're left with 25.
Bring next digit (1) of the dividend behind the 25 and repeat the process: 251 / 502

Step 3:
The number 502 fits into 251 0 times, leaving a remainder of 251.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 251 and we're left with 251.
Bring next digit (5) of the dividend behind the 251 and repeat the process: 2515 / 502

Going ahead to step 4:
502 goes into 2515 5 times with a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 5.0
Subtracting 2510 from 2515 leaves us with 5.
Append the next digit (8) from the dividend to 5 and continue with: 58 / 502

On to step 5:
The number 502 fits into 58 0 times, leaving a remainder of 58.
Write down 0 as next digit of the result. 
Result so far: 50.0
The remainder is 58 after subtracting 0 from 58.
Bring next digit (4) of the dividend behind the 58 and repeat the process: 584 / 502

Going ahead to step 6:
502 can be fit into 584 1 times, resulting in a remainder of 82.
Put 1 as the next digit of the answer. 
Result so far: 501.0
Deduct 502 from 584 and we're left with 82.
Append the next digit (7) from the dividend to 82 and continue with: 827 / 502

Step 7:
502 goes into 827 1 times with a remainder of 325.
The next digit of our result is 1. 
Result so far: 5011.0
Subtracting 502 from 827 leaves us with 325.
Take the next digit (8) from the dividend and append it to 325, then repeat: 3258 / 502

Going ahead to step 8:
If we divide 3258 by 502, we get 6 and a remainder of 246.
The next digit of our result is 6. 
Result so far: 50116.0
If we take 3012 away from 3258, we end up with 246.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2460, and continue the process.

Step 9:
If we divide 2460 by 502, we get 4 and a remainder of 452.
Put 4 as the next digit of the answer. 
Result so far: 50116.4
The remainder is 452 after subtracting 2008 from 2460.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4520, and continue the process.

Going ahead to step 10:
502 goes into 4520 9 times with a remainder of 2.
Use 9 as the next digit of our solution. 
Result so far: 50116.49
The remainder is 2 after subtracting 4518 from 4520.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Moving on to step 11:
If we divide 20 by 502, we get 0 and a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 50116.49
Deduct 0 from 20 and we're left with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Let's proceed to step 12:
502 goes into 200 0 times with a remainder of 200.
Write down 0 as next digit of the result. 
Result so far: 50116.49
Subtracting 0 from 200 leaves us with 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2000, and continue the process.

The final outcome is 50116.49, with a leftover of 0.002.