398141 divided by 38 
Our goal is to divide 398141 by 38.

On 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.
Take the next digit (9) from the dividend and append it to 3, then repeat: 39 / 38

Let's proceed to step 2:
38 can be fit into 39 1 times, resulting in a remainder of 1.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
The remainder is 1 after subtracting 38 from 39.
Include the next digit (8) from the dividend after 1, then repeat: 18 / 38

Let's proceed to step 3:
If we divide 18 by 38, we get 0 and a remainder of 18.
Record the quotient 0 as the next digit in the result. 
Result so far: 10.0
If we take 0 away from 18, we end up with 18.
Bring next digit (1) of the dividend behind the 18 and repeat the process: 181 / 38

Going ahead to step 4:
The number 38 fits into 181 4 times, leaving a remainder of 29.
The next digit of our result is 4. 
Result so far: 104.0
Deduct 152 from 181 and we're left with 29.
Grab the next digit (4) from the dividend, add it to 29, then carry on: 294 / 38

Step 5:
When dividing 294 by 38, we get 7 with a remainder of 28.
The number 7 becomes the next digit in our result. 
Result so far: 1047.0
If we subtract 266 from 294, we get 28.
Bring next digit (1) of the dividend behind the 28 and repeat the process: 281 / 38

Let's proceed to step 6:
281 divided by 38 is 7 with a remainder of 15.
Put 7 as the next digit of the answer. 
Result so far: 10477.0
The remainder is 15 after subtracting 266 from 281.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Going ahead to step 7:
When dividing 150 by 38, we get 3 with a remainder of 36.
Write down 3 as next digit of the result. 
Result so far: 10477.3
If we take 114 away from 150, we end up with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

On to step 8:
360 divided by 38 is 9 with a remainder of 18.
Record the quotient 9 as the next digit in the result. 
Result so far: 10477.39
Subtract 342 from 360 to get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Step 9:
180 divided by 38 is 4 with a remainder of 28.
Use 4 as the next digit of our solution. 
Result so far: 10477.394
If we take 152 away from 180, we end up 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.

Let's proceed to step 10:
38 can be fit into 280 7 times, resulting in a remainder of 14.
The next digit of our result is 7. 
Result so far: 10477.3947
Deduct 266 from 280 and we're left 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.

On to step 11:
38 can be fit into 140 3 times, resulting in a remainder of 26.
Use 3 as the next digit of our solution. 
Result so far: 10477.39473
Subtracting 114 from 140 leaves us with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Moving on to step 12:
38 goes into 260 6 times with a remainder of 32.
The next digit of our result is 6. 
Result so far: 10477.394736
Subtracting 228 from 260 leaves us with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Advancing to step 13:
The number 38 fits into 320 8 times, leaving a remainder of 16.
The number 8 becomes the next digit in our result. 
Result so far: 10477.3947368
If we subtract 304 from 320, we get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Let's proceed to step 14:
160 divided by 38 is 4 with a remainder of 8.
The next digit of our result is 4. 
Result so far: 10477.39473684
Deduct 152 from 160 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.

The final result is 10477.39473684 with a remainder of 8e-09.