Let's divide 871288 by 12
Let's see how many times 12 fits into 871288.

Going ahead to step 1:
If we divide 8 by 12, 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.
Include the next digit (7) from the dividend after 8, then repeat: 87 / 12

Advancing to step 2:
12 can be fit into 87 7 times, resulting in a remainder of 3.
Use 7 as the next digit of our solution. 
Result so far: 7.0
If we subtract 84 from 87, we get 3.
Fetch the next digit (1) from the dividend, attach it to 3 and continue: 31 / 12

On to step 3:
12 can be fit into 31 2 times, resulting in a remainder of 7.
The next digit of our result is 2. 
Result so far: 72.0
The remainder is 7 after subtracting 24 from 31.
Fetch the next digit (2) from the dividend, attach it to 7 and continue: 72 / 12

On to step 4:
The number 12 fits into 72 6 times, leaving a remainder of 0.
The number 6 becomes the next digit in our result. 
Result so far: 726.0
If we subtract 72 from 72, we get 0.
Take the next digit (8) from the dividend and append it to 0, then repeat: 8 / 12

Advancing to step 5:
The number 12 fits into 8 0 times, leaving a remainder of 8.
Write down 0 as next digit of the result. 
Result so far: 7260.0
If we subtract 0 from 8, we get 8.
Fetch the next digit (8) from the dividend, attach it to 8 and continue: 88 / 12

On to step 6:
12 goes into 88 7 times with a remainder of 4.
The next digit of our result is 7. 
Result so far: 72607.0
Subtract 84 from 88 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

On to step 7:
12 goes into 40 3 times with a remainder of 4.
Use 3 as the next digit of our solution. 
Result so far: 72607.3
The remainder is 4 after subtracting 36 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Advancing to step 8:
When dividing 40 by 12, we get 3 with a remainder of 4.
Write down 3 as next digit of the result. 
Result so far: 72607.33
If we subtract 36 from 40, we get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

The quotient of the division is 72607.33, and the remainder is 0.004.