We're dividing 12668850 by 502 
We want to divide 12668850 by 502.

Advancing to step 1:
If we divide 1 by 502, we get 0 and a remainder of 1.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 1, we get 1.
Fetch the next digit (2) from the dividend, attach it to 1 and continue: 12 / 502

Advancing to step 2:
502 goes into 12 0 times with a remainder of 12.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 12, we end up with 12.
Take the next digit (6) from the dividend and append it to 12, then repeat: 126 / 502

Let's proceed to step 3:
126 divided by 502 is 0 with a remainder of 126.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 126 after subtracting 0 from 126.
Fetch the next digit (6) from the dividend, attach it to 126 and continue: 1266 / 502

Step 4:
502 goes into 1266 2 times with a remainder of 262.
Use 2 as the next digit of our solution. 
Result so far: 2.0
Subtract 1004 from 1266 to get 262.
Take the next digit (8) from the dividend and append it to 262, then repeat: 2628 / 502

Going ahead to step 5:
When dividing 2628 by 502, we get 5 with a remainder of 118.
Use 5 as the next digit of our solution. 
Result so far: 25.0
Subtracting 2510 from 2628 leaves us with 118.
Fetch the next digit (8) from the dividend, attach it to 118 and continue: 1188 / 502

Going ahead to step 6:
1188 divided by 502 is 2 with a remainder of 184.
The number 2 becomes the next digit in our result. 
Result so far: 252.0
Subtract 1004 from 1188 to get 184.
Grab the next digit (5) from the dividend, add it to 184, then carry on: 1845 / 502

Step 7:
502 goes into 1845 3 times with a remainder of 339.
Use 3 as the next digit of our solution. 
Result so far: 2523.0
If we subtract 1506 from 1845, we get 339.
Bring next digit (0) of the dividend behind the 339 and repeat the process: 3390 / 502

Going ahead to step 8:
502 can be fit into 3390 6 times, resulting in a remainder of 378.
Use 6 as the next digit of our solution. 
Result so far: 25236.0
If we subtract 3012 from 3390, we get 378.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3780, and continue the process.

Advancing to step 9:
502 goes into 3780 7 times with a remainder of 266.
The number 7 becomes the next digit in our result. 
Result so far: 25236.7
Subtract 3514 from 3780 to get 266.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2660, and continue the process.

Step 10:
The number 502 fits into 2660 5 times, leaving a remainder of 150.
The next digit of our result is 5. 
Result so far: 25236.75
Deduct 2510 from 2660 and we're left with 150.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1500, and continue the process.

Moving on to step 11:
502 goes into 1500 2 times with a remainder of 496.
The number 2 becomes the next digit in our result. 
Result so far: 25236.752
Subtract 1004 from 1500 to get 496.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4960, and continue the process.

Step 12:
If we divide 4960 by 502, we get 9 and a remainder of 442.
Put 9 as the next digit of the answer. 
Result so far: 25236.7529
Deduct 4518 from 4960 and we're left with 442.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4420, and continue the process.

Advancing to step 13:
When dividing 4420 by 502, we get 8 with a remainder of 404.
Record the quotient 8 as the next digit in the result. 
Result so far: 25236.75298
If we take 4016 away from 4420, we end up with 404.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4040, and continue the process.

Advancing to step 14:
If we divide 4040 by 502, we get 8 and a remainder of 24.
Record the quotient 8 as the next digit in the result. 
Result so far: 25236.752988
Subtract 4016 from 4040 to get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

The final result is 25236.752988 with a remainder of 2.4e-06.