We divide 315161 by 38
Our goal is to divide 315161 by 38.

Going ahead to step 1:
When dividing 3 by 38, we get 0 with a remainder of 3.
Record the quotient 0 as the next digit in the 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

On to step 2:
38 can be fit into 31 0 times, resulting in a remainder of 31.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 31 after subtracting 0 from 31.
Append the next digit (5) from the dividend to 31 and continue with: 315 / 38

Let's proceed to step 3:
When dividing 315 by 38, we get 8 with a remainder of 11.
Put 8 as the next digit of the answer. 
Result so far: 8.0
If we subtract 304 from 315, we get 11.
Fetch the next digit (1) from the dividend, attach it to 11 and continue: 111 / 38

Moving on to step 4:
38 goes into 111 2 times with a remainder of 35.
Put 2 as the next digit of the answer. 
Result so far: 82.0
Subtracting 76 from 111 leaves us with 35.
Take the next digit (6) from the dividend and append it to 35, then repeat: 356 / 38

Moving on to step 5:
356 divided by 38 is 9 with a remainder of 14.
Record the quotient 9 as the next digit in the result. 
Result so far: 829.0
Subtract 342 from 356 to get 14.
Append the next digit (1) from the dividend to 14 and continue with: 141 / 38

Step 6:
38 goes into 141 3 times with a remainder of 27.
Write down 3 as next digit of the result. 
Result so far: 8293.0
If we subtract 114 from 141, we get 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Moving on to step 7:
The number 38 fits into 270 7 times, leaving a remainder of 4.
Put 7 as the next digit of the answer. 
Result so far: 8293.7
Deduct 266 from 270 and we're left 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.

Moving on to step 8:
40 divided by 38 is 1 with a remainder of 2.
Write down 1 as next digit of the result. 
Result so far: 8293.71
The remainder is 2 after subtracting 38 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Let's proceed to step 9:
38 goes into 20 0 times with a remainder of 20.
Put 0 as the next digit of the answer. 
Result so far: 8293.71
If we take 0 away from 20, we end up with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Let's proceed to step 10:
200 divided by 38 is 5 with a remainder of 10.
Record the quotient 5 as the next digit in the result. 
Result so far: 8293.7105
If we subtract 190 from 200, 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.

On to step 11:
The number 38 fits into 100 2 times, leaving a remainder of 24.
Write down 2 as next digit of the result. 
Result so far: 8293.71052
Deduct 76 from 100 and we're left with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Step 12:
38 can be fit into 240 6 times, resulting in a remainder of 12.
Use 6 as the next digit of our solution. 
Result so far: 8293.710526
If we take 228 away from 240, we end up with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

On to step 13:
If we divide 120 by 38, we get 3 and a remainder of 6.
The next digit of our result is 3. 
Result so far: 8293.7105263
The remainder is 6 after subtracting 114 from 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Let's proceed to step 14:
38 can be fit into 60 1 times, resulting in a remainder of 22.
Record the quotient 1 as the next digit in the result. 
Result so far: 8293.71052631
Deduct 38 from 60 and we're left with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

The final outcome is 8293.71052631, with a leftover of 2.2e-08.