Let's divide 351204 by 31
We want to divide 351204 by 31.

On to step 1:
If we divide 3 by 31, we get 0 and a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Fetch the next digit (5) from the dividend, attach it to 3 and continue: 35 / 31

Going ahead to step 2:
The number 31 fits into 35 1 times, leaving a remainder of 4.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
The remainder is 4 after subtracting 31 from 35.
Take the next digit (1) from the dividend and append it to 4, then repeat: 41 / 31

Step 3:
31 goes into 41 1 times with a remainder of 10.
Record the quotient 1 as the next digit in the result. 
Result so far: 11.0
Subtracting 31 from 41 leaves us with 10.
Grab the next digit (2) from the dividend, add it to 10, then carry on: 102 / 31

Let's proceed to step 4:
The number 31 fits into 102 3 times, leaving a remainder of 9.
Put 3 as the next digit of the answer. 
Result so far: 113.0
If we subtract 93 from 102, we get 9.
Append the next digit (0) from the dividend to 9 and continue with: 90 / 31

Going ahead to step 5:
When dividing 90 by 31, we get 2 with a remainder of 28.
The next digit of our result is 2. 
Result so far: 1132.0
If we subtract 62 from 90, we get 28.
Include the next digit (4) from the dividend after 28, then repeat: 284 / 31

On to step 6:
31 can be fit into 284 9 times, resulting in a remainder of 5.
Use 9 as the next digit of our solution. 
Result so far: 11329.0
If we subtract 279 from 284, we get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Moving on to step 7:
If we divide 50 by 31, we get 1 and a remainder of 19.
Put 1 as the next digit of the answer. 
Result so far: 11329.1
Subtract 31 from 50 to get 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Step 8:
31 can be fit into 190 6 times, resulting in a remainder of 4.
Write down 6 as next digit of the result. 
Result so far: 11329.16
Subtracting 186 from 190 leaves us with 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 9:
If we divide 40 by 31, we get 1 and a remainder of 9.
Write down 1 as next digit of the result. 
Result so far: 11329.161
Subtract 31 from 40 to get 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Going ahead to step 10:
When dividing 90 by 31, we get 2 with a remainder of 28.
Write down 2 as next digit of the result. 
Result so far: 11329.1612
If we subtract 62 from 90, we get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Step 11:
31 can be fit into 280 9 times, resulting in a remainder of 1.
Record the quotient 9 as the next digit in the result. 
Result so far: 11329.16129
If we subtract 279 from 280, we get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Step 12:
If we divide 10 by 31, we get 0 and a remainder of 10.
Put 0 as the next digit of the answer. 
Result so far: 11329.16129
The remainder is 10 after subtracting 0 from 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

On to step 13:
100 divided by 31 is 3 with a remainder of 7.
Use 3 as the next digit of our solution. 
Result so far: 11329.1612903
The remainder is 7 after subtracting 93 from 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Step 14:
If we divide 70 by 31, we get 2 and a remainder of 8.
Record the quotient 2 as the next digit in the result. 
Result so far: 11329.16129032
Subtract 62 from 70 to get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

In conclusion, the division gives 11329.16129032 with a balance of 8e-09.