Let's divide 10382 by 31
Our goal is to divide 10382 by 31.

On to step 1:
When dividing 1 by 31, we get 0 with a remainder of 1.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 1 leaves us with 1.
Fetch the next digit (0) from the dividend, attach it to 1 and continue: 10 / 31

Let's proceed to step 2:
31 can be fit into 10 0 times, resulting in a remainder of 10.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 10 and we're left with 10.
Append the next digit (3) from the dividend to 10 and continue with: 103 / 31

Going ahead to step 3:
The number 31 fits into 103 3 times, leaving a remainder of 10.
The number 3 becomes the next digit in our result. 
Result so far: 3.0
Subtract 93 from 103 to get 10.
Append the next digit (8) from the dividend to 10 and continue with: 108 / 31

Let's proceed to step 4:
When dividing 108 by 31, we get 3 with a remainder of 15.
The number 3 becomes the next digit in our result. 
Result so far: 33.0
The remainder is 15 after subtracting 93 from 108.
Append the next digit (2) from the dividend to 15 and continue with: 152 / 31

Let's proceed to step 5:
31 can be fit into 152 4 times, resulting in a remainder of 28.
The number 4 becomes the next digit in our result. 
Result so far: 334.0
Subtracting 124 from 152 leaves us with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Advancing to step 6:
31 can be fit into 280 9 times, resulting in a remainder of 1.
Use 9 as the next digit of our solution. 
Result so far: 334.9
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.

Let's proceed to step 7:
When dividing 10 by 31, we get 0 with a remainder of 10.
Put 0 as the next digit of the answer. 
Result so far: 334.9
If we subtract 0 from 10, we get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Advancing to step 8:
When dividing 100 by 31, we get 3 with a remainder of 7.
The next digit of our result is 3. 
Result so far: 334.903
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.

Moving on to step 9:
70 divided by 31 is 2 with a remainder of 8.
Write down 2 as next digit of the result. 
Result so far: 334.9032
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.

Moving on to step 10:
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: 334.90322
If we take 62 away from 80, we end up 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.

The final result is 334.90322 with a remainder of 1.8e-05.