We're dividing 31231 by 84 
We want to divide 31231 by 84.

Moving on to step 1:
84 goes into 3 0 times with a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Fetch the next digit (1) from the dividend, attach it to 3 and continue: 31 / 84

On to step 2:
84 can be fit into 31 0 times, resulting in a remainder of 31.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 31 after subtracting 0 from 31.
Grab the next digit (2) from the dividend, add it to 31, then carry on: 312 / 84

Let's proceed to step 3:
312 divided by 84 is 3 with a remainder of 60.
Use 3 as the next digit of our solution. 
Result so far: 3.0
Subtract 252 from 312 to get 60.
Append the next digit (3) from the dividend to 60 and continue with: 603 / 84

Moving on to step 4:
603 divided by 84 is 7 with a remainder of 15.
Write down 7 as next digit of the result. 
Result so far: 37.0
If we subtract 588 from 603, we get 15.
Fetch the next digit (1) from the dividend, attach it to 15 and continue: 151 / 84

Advancing to step 5:
If we divide 151 by 84, we get 1 and a remainder of 67.
The next digit of our result is 1. 
Result so far: 371.0
If we subtract 84 from 151, we get 67.
Since there are no more digits in the dividend, we add a zero to the remainder making it 670, and continue the process.

Advancing to step 6:
84 can be fit into 670 7 times, resulting in a remainder of 82.
Write down 7 as next digit of the result. 
Result so far: 371.7
If we subtract 588 from 670, we get 82.
Since there are no more digits in the dividend, we add a zero to the remainder making it 820, and continue the process.

Let's proceed to step 7:
When dividing 820 by 84, we get 9 with a remainder of 64.
Put 9 as the next digit of the answer. 
Result so far: 371.79
Deduct 756 from 820 and we're left with 64.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

On to step 8:
84 goes into 640 7 times with a remainder of 52.
Record the quotient 7 as the next digit in the result. 
Result so far: 371.797
Deduct 588 from 640 and we're left with 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

Advancing to step 9:
The number 84 fits into 520 6 times, leaving a remainder of 16.
Put 6 as the next digit of the answer. 
Result so far: 371.7976
Subtract 504 from 520 to get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Step 10:
84 can be fit into 160 1 times, resulting in a remainder of 76.
The number 1 becomes the next digit in our result. 
Result so far: 371.79761
Subtracting 84 from 160 leaves us with 76.
Since there are no more digits in the dividend, we add a zero to the remainder making it 760, and continue the process.

Moving on to step 11:
84 can be fit into 760 9 times, resulting in a remainder of 4.
Put 9 as the next digit of the answer. 
Result so far: 371.797619
The remainder is 4 after subtracting 756 from 760.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Going ahead to step 12:
84 can be fit into 40 0 times, resulting in a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 371.797619
Deduct 0 from 40 and we're left with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

On to step 13:
84 goes into 400 4 times with a remainder of 64.
Use 4 as the next digit of our solution. 
Result so far: 371.79761904
If we subtract 336 from 400, we get 64.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

In conclusion, the division gives 371.79761904 with a balance of 6.4e-08.