502684 divided by 24 
Let's see how many times 24 fits into 502684.

Advancing to step 1:
24 goes into 5 0 times with a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Grab the next digit (0) from the dividend, add it to 5, then carry on: 50 / 24

On to step 2:
The number 24 fits into 50 2 times, leaving a remainder of 2.
Write down 2 as next digit of the result. 
Result so far: 2.0
Subtract 48 from 50 to get 2.
Grab the next digit (2) from the dividend, add it to 2, then carry on: 22 / 24

Let's proceed to step 3:
The number 24 fits into 22 0 times, leaving a remainder of 22.
The number 0 becomes the next digit in our result. 
Result so far: 20.0
Deduct 0 from 22 and we're left with 22.
Fetch the next digit (6) from the dividend, attach it to 22 and continue: 226 / 24

Step 4:
If we divide 226 by 24, we get 9 and a remainder of 10.
Use 9 as the next digit of our solution. 
Result so far: 209.0
The remainder is 10 after subtracting 216 from 226.
Bring next digit (8) of the dividend behind the 10 and repeat the process: 108 / 24

On to step 5:
24 can be fit into 108 4 times, resulting in a remainder of 12.
Put 4 as the next digit of the answer. 
Result so far: 2094.0
Deduct 96 from 108 and we're left with 12.
Take the next digit (4) from the dividend and append it to 12, then repeat: 124 / 24

On to step 6:
The number 24 fits into 124 5 times, leaving a remainder of 4.
The next digit of our result is 5. 
Result so far: 20945.0
The remainder is 4 after subtracting 120 from 124.
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 7:
If we divide 40 by 24, we get 1 and a remainder of 16.
The next digit of our result is 1. 
Result so far: 20945.1
Subtract 24 from 40 to get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Moving on to step 8:
When dividing 160 by 24, we get 6 with a remainder of 16.
Write down 6 as next digit of the result. 
Result so far: 20945.16
The remainder is 16 after subtracting 144 from 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Advancing to step 9:
160 divided by 24 is 6 with a remainder of 16.
Put 6 as the next digit of the answer. 
Result so far: 20945.166
If we subtract 144 from 160, we get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

The final outcome is 20945.166, with a leftover of 0.0016.