Let's divide 21791 by 859
Our goal is to divide 21791 by 859.

Moving on to step 1:
2 divided by 859 is 0 with a remainder of 2.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 2 and we're left with 2.
Append the next digit (1) from the dividend to 2 and continue with: 21 / 859

Going ahead to step 2:
21 divided by 859 is 0 with a remainder of 21.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 21, we end up with 21.
Fetch the next digit (7) from the dividend, attach it to 21 and continue: 217 / 859

Moving on to step 3:
If we divide 217 by 859, we get 0 and a remainder of 217.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 217 after subtracting 0 from 217.
Fetch the next digit (9) from the dividend, attach it to 217 and continue: 2179 / 859

Step 4:
859 can be fit into 2179 2 times, resulting in a remainder of 461.
Use 2 as the next digit of our solution. 
Result so far: 2.0
If we take 1718 away from 2179, we end up with 461.
Bring next digit (1) of the dividend behind the 461 and repeat the process: 4611 / 859

Step 5:
4611 divided by 859 is 5 with a remainder of 316.
Put 5 as the next digit of the answer. 
Result so far: 25.0
If we subtract 4295 from 4611, we get 316.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3160, and continue the process.

Advancing to step 6:
The number 859 fits into 3160 3 times, leaving a remainder of 583.
Record the quotient 3 as the next digit in the result. 
Result so far: 25.3
Subtract 2577 from 3160 to get 583.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5830, and continue the process.

On to step 7:
859 can be fit into 5830 6 times, resulting in a remainder of 676.
Use 6 as the next digit of our solution. 
Result so far: 25.36
Subtracting 5154 from 5830 leaves us with 676.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6760, and continue the process.

Let's proceed to step 8:
6760 divided by 859 is 7 with a remainder of 747.
Write down 7 as next digit of the result. 
Result so far: 25.367
Subtract 6013 from 6760 to get 747.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7470, and continue the process.

On to step 9:
859 can be fit into 7470 8 times, resulting in a remainder of 598.
Use 8 as the next digit of our solution. 
Result so far: 25.3678
If we take 6872 away from 7470, we end up with 598.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5980, and continue the process.

Step 10:
When dividing 5980 by 859, we get 6 with a remainder of 826.
Use 6 as the next digit of our solution. 
Result so far: 25.36786
Deduct 5154 from 5980 and we're left with 826.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8260, and continue the process.

On to step 11:
859 can be fit into 8260 9 times, resulting in a remainder of 529.
Write down 9 as next digit of the result. 
Result so far: 25.367869
Subtracting 7731 from 8260 leaves us with 529.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5290, and continue the process.

Moving on to step 12:
859 can be fit into 5290 6 times, resulting in a remainder of 136.
Write down 6 as next digit of the result. 
Result so far: 25.3678696
If we take 5154 away from 5290, we end up with 136.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1360, and continue the process.

Let's proceed to step 13:
If we divide 1360 by 859, we get 1 and a remainder of 501.
Write down 1 as next digit of the result. 
Result so far: 25.36786961
Deduct 859 from 1360 and we're left with 501.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5010, and continue the process.

The quotient of the division is 25.36786961, and the remainder is 5.01e-07.