Let's divide 508574 by 24
Our goal is to divide 508574 by 24.

Advancing to step 1:
If we divide 5 by 24, we get 0 and a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Include the next digit (0) from the dividend after 5, then repeat: 50 / 24

Step 2:
24 goes into 50 2 times with a remainder of 2.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
Subtracting 48 from 50 leaves us with 2.
Append the next digit (8) from the dividend to 2 and continue with: 28 / 24

Going ahead to step 3:
24 goes into 28 1 times with a remainder of 4.
Record the quotient 1 as the next digit in the result. 
Result so far: 21.0
The remainder is 4 after subtracting 24 from 28.
Take the next digit (5) from the dividend and append it to 4, then repeat: 45 / 24

Advancing to step 4:
24 goes into 45 1 times with a remainder of 21.
Put 1 as the next digit of the answer. 
Result so far: 211.0
Deduct 24 from 45 and we're left with 21.
Grab the next digit (7) from the dividend, add it to 21, then carry on: 217 / 24

Advancing to step 5:
When dividing 217 by 24, we get 9 with a remainder of 1.
The next digit of our result is 9. 
Result so far: 2119.0
Subtracting 216 from 217 leaves us with 1.
Take the next digit (4) from the dividend and append it to 1, then repeat: 14 / 24

Going ahead to step 6:
14 divided by 24 is 0 with a remainder of 14.
Record the quotient 0 as the next digit in the result. 
Result so far: 21190.0
If we take 0 away from 14, we end up with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Going ahead to step 7:
The number 24 fits into 140 5 times, leaving a remainder of 20.
Write down 5 as next digit of the result. 
Result so far: 21190.5
If we take 120 away from 140, we end up 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.

Moving on to step 8:
24 can be fit into 200 8 times, resulting in a remainder of 8.
Record the quotient 8 as the next digit in the result. 
Result so far: 21190.58
If we take 192 away from 200, we end up with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

On to step 9:
24 goes into 80 3 times with a remainder of 8.
The next digit of our result is 3. 
Result so far: 21190.583
The remainder is 8 after subtracting 72 from 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Going ahead to step 10:
The number 24 fits into 80 3 times, leaving a remainder of 8.
The number 3 becomes the next digit in our result. 
Result so far: 21190.5833
Subtract 72 from 80 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.

The final outcome is 21190.5833, with a leftover of 8e-05.