Let's divide 312012 by 173
We want to divide 312012 by 173.

Advancing to step 1:
3 divided by 173 is 0 with a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Take the next digit (1) from the dividend and append it to 3, then repeat: 31 / 173

On to step 2:
The number 173 fits into 31 0 times, leaving a remainder of 31.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 31 and we're left with 31.
Append the next digit (2) from the dividend to 31 and continue with: 312 / 173

Advancing to step 3:
The number 173 fits into 312 1 times, leaving a remainder of 139.
Put 1 as the next digit of the answer. 
Result so far: 1.0
If we subtract 173 from 312, we get 139.
Include the next digit (0) from the dividend after 139, then repeat: 1390 / 173

Advancing to step 4:
173 goes into 1390 8 times with a remainder of 6.
Use 8 as the next digit of our solution. 
Result so far: 18.0
The remainder is 6 after subtracting 1384 from 1390.
Bring next digit (1) of the dividend behind the 6 and repeat the process: 61 / 173

Moving on to step 5:
If we divide 61 by 173, we get 0 and a remainder of 61.
Record the quotient 0 as the next digit in the result. 
Result so far: 180.0
Subtracting 0 from 61 leaves us with 61.
Bring next digit (2) of the dividend behind the 61 and repeat the process: 612 / 173

Step 6:
173 goes into 612 3 times with a remainder of 93.
Put 3 as the next digit of the answer. 
Result so far: 1803.0
The remainder is 93 after subtracting 519 from 612.
Since there are no more digits in the dividend, we add a zero to the remainder making it 930, and continue the process.

Going ahead to step 7:
173 can be fit into 930 5 times, resulting in a remainder of 65.
Record the quotient 5 as the next digit in the result. 
Result so far: 1803.5
The remainder is 65 after subtracting 865 from 930.
Since there are no more digits in the dividend, we add a zero to the remainder making it 650, and continue the process.

Step 8:
650 divided by 173 is 3 with a remainder of 131.
The number 3 becomes the next digit in our result. 
Result so far: 1803.53
Subtracting 519 from 650 leaves us with 131.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1310, and continue the process.

Moving on to step 9:
173 can be fit into 1310 7 times, resulting in a remainder of 99.
Put 7 as the next digit of the answer. 
Result so far: 1803.537
If we take 1211 away from 1310, we end up with 99.
Since there are no more digits in the dividend, we add a zero to the remainder making it 990, and continue the process.

Step 10:
990 divided by 173 is 5 with a remainder of 125.
Record the quotient 5 as the next digit in the result. 
Result so far: 1803.5375
Subtract 865 from 990 to get 125.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1250, and continue the process.

Going ahead to step 11:
173 can be fit into 1250 7 times, resulting in a remainder of 39.
Put 7 as the next digit of the answer. 
Result so far: 1803.53757
Deduct 1211 from 1250 and we're left with 39.
Since there are no more digits in the dividend, we add a zero to the remainder making it 390, and continue the process.

Moving on to step 12:
390 divided by 173 is 2 with a remainder of 44.
Record the quotient 2 as the next digit in the result. 
Result so far: 1803.537572
Deduct 346 from 390 and we're left with 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

On to step 13:
When dividing 440 by 173, we get 2 with a remainder of 94.
The number 2 becomes the next digit in our result. 
Result so far: 1803.5375722
Deduct 346 from 440 and we're left with 94.
Since there are no more digits in the dividend, we add a zero to the remainder making it 940, and continue the process.

In conclusion, the division gives 1803.5375722 with a balance of 9.4e-07.