Let's divide 31995 by 38
Our goal is to divide 31995 by 38.

Let's proceed to step 1:
When dividing 3 by 38, we get 0 with a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Fetch the next digit (1) from the dividend, attach it to 3 and continue: 31 / 38

Advancing to step 2:
When dividing 31 by 38, we get 0 with a remainder of 31.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 31, we get 31.
Fetch the next digit (9) from the dividend, attach it to 31 and continue: 319 / 38

Moving on to step 3:
The number 38 fits into 319 8 times, leaving a remainder of 15.
Put 8 as the next digit of the answer. 
Result so far: 8.0
Deduct 304 from 319 and we're left with 15.
Bring next digit (9) of the dividend behind the 15 and repeat the process: 159 / 38

Advancing to step 4:
38 goes into 159 4 times with a remainder of 7.
Put 4 as the next digit of the answer. 
Result so far: 84.0
Deduct 152 from 159 and we're left with 7.
Include the next digit (5) from the dividend after 7, then repeat: 75 / 38

Advancing to step 5:
38 goes into 75 1 times with a remainder of 37.
The next digit of our result is 1. 
Result so far: 841.0
The remainder is 37 after subtracting 38 from 75.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

Let's proceed to step 6:
The number 38 fits into 370 9 times, leaving a remainder of 28.
Put 9 as the next digit of the answer. 
Result so far: 841.9
Subtract 342 from 370 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.

On to step 7:
38 goes into 280 7 times with a remainder of 14.
Put 7 as the next digit of the answer. 
Result so far: 841.97
If we take 266 away from 280, we end up with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Advancing to step 8:
If we divide 140 by 38, we get 3 and a remainder of 26.
Record the quotient 3 as the next digit in the result. 
Result so far: 841.973
Subtract 114 from 140 to get 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Going ahead to step 9:
38 goes into 260 6 times with a remainder of 32.
Use 6 as the next digit of our solution. 
Result so far: 841.9736
Subtract 228 from 260 to get 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Moving on to step 10:
320 divided by 38 is 8 with a remainder of 16.
Put 8 as the next digit of the answer. 
Result so far: 841.97368
If we take 304 away from 320, we end up with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Advancing to step 11:
When dividing 160 by 38, we get 4 with a remainder of 8.
The next digit of our result is 4. 
Result so far: 841.973684
If we subtract 152 from 160, we 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.

Step 12:
38 can be fit into 80 2 times, resulting in a remainder of 4.
The number 2 becomes the next digit in our result. 
Result so far: 841.9736842
If we take 76 away from 80, we end up 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.

Advancing to step 13:
If we divide 40 by 38, we get 1 and a remainder of 2.
Write down 1 as next digit of the result. 
Result so far: 841.97368421
If we subtract 38 from 40, we get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

After the division, we end up with 841.97368421 and a remainder of 2e-09.