Let's divide 18965822 by 865
Our goal is to divide 18965822 by 865.

Going ahead to step 1:
865 can be fit into 1 0 times, resulting in a remainder of 1.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 1 leaves us with 1.
Take the next digit (8) from the dividend and append it to 1, then repeat: 18 / 865

Going ahead to step 2:
18 divided by 865 is 0 with a remainder of 18.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 18 after subtracting 0 from 18.
Grab the next digit (9) from the dividend, add it to 18, then carry on: 189 / 865

Moving on to step 3:
189 divided by 865 is 0 with a remainder of 189.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 189 to get 189.
Append the next digit (6) from the dividend to 189 and continue with: 1896 / 865

Step 4:
The number 865 fits into 1896 2 times, leaving a remainder of 166.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
Deduct 1730 from 1896 and we're left with 166.
Grab the next digit (5) from the dividend, add it to 166, then carry on: 1665 / 865

On to step 5:
865 goes into 1665 1 times with a remainder of 800.
Record the quotient 1 as the next digit in the result. 
Result so far: 21.0
Subtract 865 from 1665 to get 800.
Grab the next digit (8) from the dividend, add it to 800, then carry on: 8008 / 865

Advancing to step 6:
The number 865 fits into 8008 9 times, leaving a remainder of 223.
Record the quotient 9 as the next digit in the result. 
Result so far: 219.0
The remainder is 223 after subtracting 7785 from 8008.
Bring next digit (2) of the dividend behind the 223 and repeat the process: 2232 / 865

Advancing to step 7:
865 can be fit into 2232 2 times, resulting in a remainder of 502.
Write down 2 as next digit of the result. 
Result so far: 2192.0
The remainder is 502 after subtracting 1730 from 2232.
Bring next digit (2) of the dividend behind the 502 and repeat the process: 5022 / 865

Let's proceed to step 8:
865 goes into 5022 5 times with a remainder of 697.
Record the quotient 5 as the next digit in the result. 
Result so far: 21925.0
Subtracting 4325 from 5022 leaves us with 697.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6970, and continue the process.

Let's proceed to step 9:
865 can be fit into 6970 8 times, resulting in a remainder of 50.
Put 8 as the next digit of the answer. 
Result so far: 21925.8
Subtracting 6920 from 6970 leaves us with 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

Moving on to step 10:
865 can be fit into 500 0 times, resulting in a remainder of 500.
Use 0 as the next digit of our solution. 
Result so far: 21925.8
The remainder is 500 after subtracting 0 from 500.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5000, and continue the process.

Going ahead to step 11:
When dividing 5000 by 865, we get 5 with a remainder of 675.
Put 5 as the next digit of the answer. 
Result so far: 21925.805
If we subtract 4325 from 5000, we get 675.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6750, and continue the process.

Step 12:
When dividing 6750 by 865, we get 7 with a remainder of 695.
Put 7 as the next digit of the answer. 
Result so far: 21925.8057
The remainder is 695 after subtracting 6055 from 6750.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6950, and continue the process.

Advancing to step 13:
865 can be fit into 6950 8 times, resulting in a remainder of 30.
Record the quotient 8 as the next digit in the result. 
Result so far: 21925.80578
Subtract 6920 from 6950 to get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Moving on to step 14:
865 can be fit into 300 0 times, resulting in a remainder of 300.
Record the quotient 0 as the next digit in the result. 
Result so far: 21925.80578
If we subtract 0 from 300, we get 300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3000, and continue the process.

Moving on to step 15:
When dividing 3000 by 865, we get 3 with a remainder of 405.
Use 3 as the next digit of our solution. 
Result so far: 21925.8057803
If we subtract 2595 from 3000, we get 405.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4050, and continue the process.

On to step 16:
The number 865 fits into 4050 4 times, leaving a remainder of 590.
Put 4 as the next digit of the answer. 
Result so far: 21925.80578034
Subtract 3460 from 4050 to get 590.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5900, and continue the process.

The final result is 21925.80578034 with a remainder of 5.9e-07.