We're dividing 823997 by 21 
Let's see how many times 21 fits into 823997.

Let's proceed to step 1:
8 divided by 21 is 0 with a remainder of 8.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 8 and we're left with 8.
Grab the next digit (2) from the dividend, add it to 8, then carry on: 82 / 21

Let's proceed to step 2:
The number 21 fits into 82 3 times, leaving a remainder of 19.
The next digit of our result is 3. 
Result so far: 3.0
Subtracting 63 from 82 leaves us with 19.
Append the next digit (3) from the dividend to 19 and continue with: 193 / 21

On to step 3:
If we divide 193 by 21, we get 9 and a remainder of 4.
The number 9 becomes the next digit in our result. 
Result so far: 39.0
If we take 189 away from 193, we end up with 4.
Append the next digit (9) from the dividend to 4 and continue with: 49 / 21

Step 4:
21 can be fit into 49 2 times, resulting in a remainder of 7.
Write down 2 as next digit of the result. 
Result so far: 392.0
If we take 42 away from 49, we end up with 7.
Append the next digit (9) from the dividend to 7 and continue with: 79 / 21

Moving on to step 5:
21 can be fit into 79 3 times, resulting in a remainder of 16.
Use 3 as the next digit of our solution. 
Result so far: 3923.0
If we take 63 away from 79, we end up with 16.
Grab the next digit (7) from the dividend, add it to 16, then carry on: 167 / 21

Moving on to step 6:
The number 21 fits into 167 7 times, leaving a remainder of 20.
The number 7 becomes the next digit in our result. 
Result so far: 39237.0
The remainder is 20 after subtracting 147 from 167.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Advancing to step 7:
The number 21 fits into 200 9 times, leaving a remainder of 11.
Record the quotient 9 as the next digit in the result. 
Result so far: 39237.9
If we subtract 189 from 200, we get 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Going ahead to step 8:
The number 21 fits into 110 5 times, leaving a remainder of 5.
The next digit of our result is 5. 
Result so far: 39237.95
Subtract 105 from 110 to get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

On to step 9:
21 can be fit into 50 2 times, resulting in a remainder of 8.
Record the quotient 2 as the next digit in the result. 
Result so far: 39237.952
If we subtract 42 from 50, we 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.

Step 10:
21 can be fit into 80 3 times, resulting in a remainder of 17.
Use 3 as the next digit of our solution. 
Result so far: 39237.9523
Subtracting 63 from 80 leaves us with 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Moving on to step 11:
The number 21 fits into 170 8 times, leaving a remainder of 2.
Use 8 as the next digit of our solution. 
Result so far: 39237.95238
Subtracting 168 from 170 leaves us with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Let's proceed to step 12:
21 can be fit into 20 0 times, resulting in a remainder of 20.
Put 0 as the next digit of the answer. 
Result so far: 39237.95238
The remainder is 20 after subtracting 0 from 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 13:
The number 21 fits into 200 9 times, leaving a remainder of 11.
Put 9 as the next digit of the answer. 
Result so far: 39237.9523809
Subtracting 189 from 200 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.

Advancing to step 14:
110 divided by 21 is 5 with a remainder of 5.
Use 5 as the next digit of our solution. 
Result so far: 39237.95238095
Deduct 105 from 110 and we're left with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

In conclusion, the division gives 39237.95238095 with a balance of 5e-09.