We're dividing 502259 by 23 
We want to figure out the number of times 502259 can be divided by 23.

Going ahead to step 1:
If we divide 5 by 23, we get 0 and a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Include the next digit (0) from the dividend after 5, then repeat: 50 / 23

Moving on to step 2:
23 goes into 50 2 times with a remainder of 4.
Put 2 as the next digit of the answer. 
Result so far: 2.0
The remainder is 4 after subtracting 46 from 50.
Grab the next digit (2) from the dividend, add it to 4, then carry on: 42 / 23

Advancing to step 3:
23 can be fit into 42 1 times, resulting in a remainder of 19.
Put 1 as the next digit of the answer. 
Result so far: 21.0
Subtract 23 from 42 to get 19.
Grab the next digit (2) from the dividend, add it to 19, then carry on: 192 / 23

Advancing to step 4:
When dividing 192 by 23, we get 8 with a remainder of 8.
Write down 8 as next digit of the result. 
Result so far: 218.0
If we subtract 184 from 192, we get 8.
Append the next digit (5) from the dividend to 8 and continue with: 85 / 23

Let's proceed to step 5:
When dividing 85 by 23, we get 3 with a remainder of 16.
Put 3 as the next digit of the answer. 
Result so far: 2183.0
Deduct 69 from 85 and we're left with 16.
Include the next digit (9) from the dividend after 16, then repeat: 169 / 23

Going ahead to step 6:
23 goes into 169 7 times with a remainder of 8.
Put 7 as the next digit of the answer. 
Result so far: 21837.0
Deduct 161 from 169 and we're left 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.

Step 7:
80 divided by 23 is 3 with a remainder of 11.
Record the quotient 3 as the next digit in the result. 
Result so far: 21837.3
Subtracting 69 from 80 leaves us with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Let's proceed to step 8:
23 can be fit into 110 4 times, resulting in a remainder of 18.
Use 4 as the next digit of our solution. 
Result so far: 21837.34
Deduct 92 from 110 and we're left with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Advancing to step 9:
When dividing 180 by 23, we get 7 with a remainder of 19.
Record the quotient 7 as the next digit in the result. 
Result so far: 21837.347
If we take 161 away from 180, we end up with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

On to step 10:
The number 23 fits into 190 8 times, leaving a remainder of 6.
Record the quotient 8 as the next digit in the result. 
Result so far: 21837.3478
If we subtract 184 from 190, we get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Going ahead to step 11:
60 divided by 23 is 2 with a remainder of 14.
Use 2 as the next digit of our solution. 
Result so far: 21837.34782
If we take 46 away from 60, 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.

Step 12:
23 goes into 140 6 times with a remainder of 2.
Write down 6 as next digit of the result. 
Result so far: 21837.347826
The remainder is 2 after subtracting 138 from 140.
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 13:
If we divide 20 by 23, we get 0 and a remainder of 20.
The number 0 becomes the next digit in our result. 
Result so far: 21837.347826
If we take 0 away from 20, 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.

Going ahead to step 14:
If we divide 200 by 23, we get 8 and a remainder of 16.
Record the quotient 8 as the next digit in the result. 
Result so far: 21837.34782608
Subtracting 184 from 200 leaves us with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

In conclusion, the division gives 21837.34782608 with a balance of 1.6e-08.