We divide 381412 by 31
Our goal is to divide 381412 by 31.

Step 1:
31 can be fit into 3 0 times, resulting in a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Append the next digit (8) from the dividend to 3 and continue with: 38 / 31

Advancing to step 2:
38 divided by 31 is 1 with a remainder of 7.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Deduct 31 from 38 and we're left with 7.
Include the next digit (1) from the dividend after 7, then repeat: 71 / 31

Advancing to step 3:
31 can be fit into 71 2 times, resulting in a remainder of 9.
The number 2 becomes the next digit in our result. 
Result so far: 12.0
The remainder is 9 after subtracting 62 from 71.
Bring next digit (4) of the dividend behind the 9 and repeat the process: 94 / 31

Advancing to step 4:
When dividing 94 by 31, we get 3 with a remainder of 1.
Put 3 as the next digit of the answer. 
Result so far: 123.0
The remainder is 1 after subtracting 93 from 94.
Include the next digit (1) from the dividend after 1, then repeat: 11 / 31

Moving on to step 5:
11 divided by 31 is 0 with a remainder of 11.
Record the quotient 0 as the next digit in the result. 
Result so far: 1230.0
The remainder is 11 after subtracting 0 from 11.
Append the next digit (2) from the dividend to 11 and continue with: 112 / 31

On to step 6:
When dividing 112 by 31, we get 3 with a remainder of 19.
The next digit of our result is 3. 
Result so far: 12303.0
Subtract 93 from 112 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.

Advancing to step 7:
The number 31 fits into 190 6 times, leaving a remainder of 4.
Use 6 as the next digit of our solution. 
Result so far: 12303.6
Subtract 186 from 190 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.

Step 8:
When dividing 40 by 31, we get 1 with a remainder of 9.
Put 1 as the next digit of the answer. 
Result so far: 12303.61
Deduct 31 from 40 and we're left with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Advancing to step 9:
31 goes into 90 2 times with a remainder of 28.
The number 2 becomes the next digit in our result. 
Result so far: 12303.612
Subtract 62 from 90 to 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 10:
When dividing 280 by 31, we get 9 with a remainder of 1.
Use 9 as the next digit of our solution. 
Result so far: 12303.6129
Subtracting 279 from 280 leaves us with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Moving on to step 11:
31 can be fit into 10 0 times, resulting in a remainder of 10.
Write down 0 as next digit of the result. 
Result so far: 12303.6129
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 12:
When dividing 100 by 31, we get 3 with a remainder of 7.
Record the quotient 3 as the next digit in the result. 
Result so far: 12303.612903
Subtract 93 from 100 to get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Moving on to step 13:
If we divide 70 by 31, we get 2 and a remainder of 8.
Write down 2 as next digit of the result. 
Result so far: 12303.6129032
Deduct 62 from 70 and we're left with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Going ahead to step 14:
When dividing 80 by 31, we get 2 with a remainder of 18.
Write down 2 as next digit of the result. 
Result so far: 12303.61290322
Subtracting 62 from 80 leaves us with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

In conclusion, the division gives 12303.61290322 with a balance of 1.8e-08.