We divide 399795 by 21
Our goal is to divide 399795 by 21.

Going ahead to step 1:
When dividing 3 by 21, we get 0 with a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Bring next digit (9) of the dividend behind the 3 and repeat the process: 39 / 21

On to step 2:
39 divided by 21 is 1 with a remainder of 18.
The next digit of our result is 1. 
Result so far: 1.0
Subtract 21 from 39 to get 18.
Bring next digit (9) of the dividend behind the 18 and repeat the process: 189 / 21

Advancing to step 3:
If we divide 189 by 21, we get 9 and a remainder of 0.
Put 9 as the next digit of the answer. 
Result so far: 19.0
If we subtract 189 from 189, we get 0.
Append the next digit (7) from the dividend to 0 and continue with: 7 / 21

Advancing to step 4:
When dividing 7 by 21, we get 0 with a remainder of 7.
Put 0 as the next digit of the answer. 
Result so far: 190.0
Deduct 0 from 7 and we're left with 7.
Take the next digit (9) from the dividend and append it to 7, then repeat: 79 / 21

Advancing to step 5:
79 divided by 21 is 3 with a remainder of 16.
The next digit of our result is 3. 
Result so far: 1903.0
Deduct 63 from 79 and we're left with 16.
Grab the next digit (5) from the dividend, add it to 16, then carry on: 165 / 21

Going ahead to step 6:
165 divided by 21 is 7 with a remainder of 18.
Record the quotient 7 as the next digit in the result. 
Result so far: 19037.0
Deduct 147 from 165 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.

Going ahead to step 7:
21 goes into 180 8 times with a remainder of 12.
The number 8 becomes the next digit in our result. 
Result so far: 19037.8
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 8:
When dividing 120 by 21, we get 5 with a remainder of 15.
The number 5 becomes the next digit in our result. 
Result so far: 19037.85
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.

Step 9:
If we divide 150 by 21, we get 7 and a remainder of 3.
Use 7 as the next digit of our solution. 
Result so far: 19037.857
If we take 147 away from 150, we end up with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Advancing to step 10:
The number 21 fits into 30 1 times, leaving a remainder of 9.
Put 1 as the next digit of the answer. 
Result so far: 19037.8571
Subtracting 21 from 30 leaves us 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 11:
If we divide 90 by 21, we get 4 and a remainder of 6.
Record the quotient 4 as the next digit in the result. 
Result so far: 19037.85714
Subtracting 84 from 90 leaves us 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.

On to step 12:
The number 21 fits into 60 2 times, leaving a remainder of 18.
Put 2 as the next digit of the answer. 
Result so far: 19037.857142
Subtracting 42 from 60 leaves us 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.

Moving on to step 13:
If we divide 180 by 21, we get 8 and a remainder of 12.
Write down 8 as next digit of the result. 
Result so far: 19037.8571428
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.

Going ahead to step 14:
21 goes into 120 5 times with a remainder of 15.
Write down 5 as next digit of the result. 
Result so far: 19037.85714285
Deduct 105 from 120 and we're left 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.

The quotient of the division is 19037.85714285, and the remainder is 1.5e-08.