We look at the division of 312171 by 80 
Let's see how many times 80 fits into 312171.

Going ahead to step 1:
80 can be fit into 3 0 times, resulting in a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Append the next digit (1) from the dividend to 3 and continue with: 31 / 80

Let's proceed to step 2:
The number 80 fits into 31 0 times, leaving a remainder of 31.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 31 and we're left with 31.
Fetch the next digit (2) from the dividend, attach it to 31 and continue: 312 / 80

On to step 3:
80 goes into 312 3 times with a remainder of 72.
The number 3 becomes the next digit in our result. 
Result so far: 3.0
Subtract 240 from 312 to get 72.
Append the next digit (1) from the dividend to 72 and continue with: 721 / 80

Step 4:
80 goes into 721 9 times with a remainder of 1.
Record the quotient 9 as the next digit in the result. 
Result so far: 39.0
The remainder is 1 after subtracting 720 from 721.
Bring next digit (7) of the dividend behind the 1 and repeat the process: 17 / 80

Step 5:
When dividing 17 by 80, we get 0 with a remainder of 17.
Write down 0 as next digit of the result. 
Result so far: 390.0
The remainder is 17 after subtracting 0 from 17.
Append the next digit (1) from the dividend to 17 and continue with: 171 / 80

Moving on to step 6:
171 divided by 80 is 2 with a remainder of 11.
Use 2 as the next digit of our solution. 
Result so far: 3902.0
If we take 160 away from 171, 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:
If we divide 110 by 80, we get 1 and a remainder of 30.
Write down 1 as next digit of the result. 
Result so far: 3902.1
If we take 80 away from 110, we end up with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Let's proceed to step 8:
When dividing 300 by 80, we get 3 with a remainder of 60.
The number 3 becomes the next digit in our result. 
Result so far: 3902.13
Deduct 240 from 300 and we're left with 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 600, and continue the process.

Moving on to step 9:
80 goes into 600 7 times with a remainder of 40.
Record the quotient 7 as the next digit in the result. 
Result so far: 3902.137
If we subtract 560 from 600, we get 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Step 10:
400 divided by 80 is 5 with a remainder of 0.
Write down 5 as next digit of the result. 
Result so far: 3902.1375
The remainder is 0 after subtracting 400 from 400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Advancing to step 11:
80 can be fit into 0 0 times, resulting in a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 3902.1375
Subtracting 0 from 0 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Step 12:
The number 80 fits into 0 0 times, leaving a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 3902.1375
If we subtract 0 from 0, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

After the division, we end up with 3902.1375 and a remainder of 0.0.