Let's divide 865172 by 99
We want to divide 865172 by 99.

Going ahead to step 1:
If we divide 8 by 99, we get 0 and a remainder of 8.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 8 after subtracting 0 from 8.
Append the next digit (6) from the dividend to 8 and continue with: 86 / 99

Let's proceed to step 2:
The number 99 fits into 86 0 times, leaving a remainder of 86.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 86 to get 86.
Take the next digit (5) from the dividend and append it to 86, then repeat: 865 / 99

Step 3:
The number 99 fits into 865 8 times, leaving a remainder of 73.
Record the quotient 8 as the next digit in the result. 
Result so far: 8.0
If we take 792 away from 865, we end up with 73.
Append the next digit (1) from the dividend to 73 and continue with: 731 / 99

Going ahead to step 4:
731 divided by 99 is 7 with a remainder of 38.
Put 7 as the next digit of the answer. 
Result so far: 87.0
Subtracting 693 from 731 leaves us with 38.
Take the next digit (7) from the dividend and append it to 38, then repeat: 387 / 99

Advancing to step 5:
387 divided by 99 is 3 with a remainder of 90.
The number 3 becomes the next digit in our result. 
Result so far: 873.0
If we take 297 away from 387, we end up with 90.
Include the next digit (2) from the dividend after 90, then repeat: 902 / 99

Advancing to step 6:
The number 99 fits into 902 9 times, leaving a remainder of 11.
The next digit of our result is 9. 
Result so far: 8739.0
If we take 891 away from 902, we end up 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.

Moving on to step 7:
When dividing 110 by 99, we get 1 with a remainder of 11.
The number 1 becomes the next digit in our result. 
Result so far: 8739.1
Subtracting 99 from 110 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.

On to step 8:
The number 99 fits into 110 1 times, leaving a remainder of 11.
Put 1 as the next digit of the answer. 
Result so far: 8739.11
If we subtract 99 from 110, 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.

The quotient of the division is 8739.11, and the remainder is 0.011.