We're dividing 499764 by 21 
Our goal is to divide 499764 by 21.

Let's proceed to step 1:
If we divide 4 by 21, we get 0 and a remainder of 4.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 4 to get 4.
Bring next digit (9) of the dividend behind the 4 and repeat the process: 49 / 21

Step 2:
The number 21 fits into 49 2 times, leaving a remainder of 7.
Put 2 as the next digit of the answer. 
Result so far: 2.0
The remainder is 7 after subtracting 42 from 49.
Include the next digit (9) from the dividend after 7, then repeat: 79 / 21

Going ahead to step 3:
If we divide 79 by 21, we get 3 and a remainder of 16.
Record the quotient 3 as the next digit in the result. 
Result so far: 23.0
The remainder is 16 after subtracting 63 from 79.
Grab the next digit (7) from the dividend, add it to 16, then carry on: 167 / 21

Advancing to step 4:
When dividing 167 by 21, we get 7 with a remainder of 20.
Record the quotient 7 as the next digit in the result. 
Result so far: 237.0
Deduct 147 from 167 and we're left with 20.
Bring next digit (6) of the dividend behind the 20 and repeat the process: 206 / 21

Let's proceed to step 5:
When dividing 206 by 21, we get 9 with a remainder of 17.
The next digit of our result is 9. 
Result so far: 2379.0
Subtracting 189 from 206 leaves us with 17.
Take the next digit (4) from the dividend and append it to 17, then repeat: 174 / 21

Let's proceed to step 6:
21 can be fit into 174 8 times, resulting in a remainder of 6.
The next digit of our result is 8. 
Result so far: 23798.0
Subtract 168 from 174 to 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.

On to step 7:
The number 21 fits into 60 2 times, leaving a remainder of 18.
Use 2 as the next digit of our solution. 
Result so far: 23798.2
Subtract 42 from 60 to get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Moving on to step 8:
If we divide 180 by 21, we get 8 and a remainder of 12.
Put 8 as the next digit of the answer. 
Result so far: 23798.28
The remainder is 12 after subtracting 168 from 180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Advancing to step 9:
21 goes into 120 5 times with a remainder of 15.
The next digit of our result is 5. 
Result so far: 23798.285
Subtracting 105 from 120 leaves us with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

On to step 10:
21 goes into 150 7 times with a remainder of 3.
Put 7 as the next digit of the answer. 
Result so far: 23798.2857
The remainder is 3 after subtracting 147 from 150.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Step 11:
21 goes into 30 1 times with a remainder of 9.
The number 1 becomes the next digit in our result. 
Result so far: 23798.28571
Deduct 21 from 30 and we're left with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

On to step 12:
90 divided by 21 is 4 with a remainder of 6.
Put 4 as the next digit of the answer. 
Result so far: 23798.285714
Deduct 84 from 90 and we're left with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Advancing to step 13:
If we divide 60 by 21, we get 2 and a remainder of 18.
Record the quotient 2 as the next digit in the result. 
Result so far: 23798.2857142
The remainder is 18 after subtracting 42 from 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Moving on to step 14:
21 can be fit into 180 8 times, resulting in a remainder of 12.
Record the quotient 8 as the next digit in the result. 
Result so far: 23798.28571428
Subtracting 168 from 180 leaves us with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

After the division, we end up with 23798.28571428 and a remainder of 1.2e-08.