We look at the division of 12235708 by 508 
We want to divide 12235708 by 508.

Step 1:
If we divide 1 by 508, we get 0 and a remainder of 1.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 1 and we're left with 1.
Fetch the next digit (2) from the dividend, attach it to 1 and continue: 12 / 508

Let's proceed to step 2:
When dividing 12 by 508, we get 0 with a remainder of 12.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 12 and we're left with 12.
Include the next digit (2) from the dividend after 12, then repeat: 122 / 508

Let's proceed to step 3:
The number 508 fits into 122 0 times, leaving a remainder of 122.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 122 leaves us with 122.
Fetch the next digit (3) from the dividend, attach it to 122 and continue: 1223 / 508

Step 4:
When dividing 1223 by 508, we get 2 with a remainder of 207.
The next digit of our result is 2. 
Result so far: 2.0
Subtracting 1016 from 1223 leaves us with 207.
Include the next digit (5) from the dividend after 207, then repeat: 2075 / 508

On to step 5:
When dividing 2075 by 508, we get 4 with a remainder of 43.
Record the quotient 4 as the next digit in the result. 
Result so far: 24.0
Subtracting 2032 from 2075 leaves us with 43.
Fetch the next digit (7) from the dividend, attach it to 43 and continue: 437 / 508

Going ahead to step 6:
508 can be fit into 437 0 times, resulting in a remainder of 437.
Record the quotient 0 as the next digit in the result. 
Result so far: 240.0
The remainder is 437 after subtracting 0 from 437.
Append the next digit (0) from the dividend to 437 and continue with: 4370 / 508

Advancing to step 7:
The number 508 fits into 4370 8 times, leaving a remainder of 306.
Record the quotient 8 as the next digit in the result. 
Result so far: 2408.0
If we subtract 4064 from 4370, we get 306.
Include the next digit (8) from the dividend after 306, then repeat: 3068 / 508

On to step 8:
The number 508 fits into 3068 6 times, leaving a remainder of 20.
The next digit of our result is 6. 
Result so far: 24086.0
The remainder is 20 after subtracting 3048 from 3068.
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 9:
The number 508 fits into 200 0 times, leaving a remainder of 200.
The next digit of our result is 0. 
Result so far: 24086.0
Subtract 0 from 200 to get 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2000, and continue the process.

Moving on to step 10:
The number 508 fits into 2000 3 times, leaving a remainder of 476.
Record the quotient 3 as the next digit in the result. 
Result so far: 24086.03
The remainder is 476 after subtracting 1524 from 2000.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4760, and continue the process.

Going ahead to step 11:
508 can be fit into 4760 9 times, resulting in a remainder of 188.
Use 9 as the next digit of our solution. 
Result so far: 24086.039
The remainder is 188 after subtracting 4572 from 4760.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1880, and continue the process.

Advancing to step 12:
508 can be fit into 1880 3 times, resulting in a remainder of 356.
Put 3 as the next digit of the answer. 
Result so far: 24086.0393
The remainder is 356 after subtracting 1524 from 1880.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3560, and continue the process.

Advancing to step 13:
508 goes into 3560 7 times with a remainder of 4.
Record the quotient 7 as the next digit in the result. 
Result so far: 24086.03937
If we subtract 3556 from 3560, we get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Going ahead to step 14:
The number 508 fits into 40 0 times, leaving a remainder of 40.
Write down 0 as next digit of the result. 
Result so far: 24086.03937
Deduct 0 from 40 and we're left with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

On to step 15:
The number 508 fits into 400 0 times, leaving a remainder of 400.
Write down 0 as next digit of the result. 
Result so far: 24086.03937
Subtracting 0 from 400 leaves us 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 quotient of the division is 24086.03937, and the remainder is 4e-06.