We divide 37986398 by 838
Our goal is to divide 37986398 by 838.

Step 1:
838 goes into 3 0 times with a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Append the next digit (7) from the dividend to 3 and continue with: 37 / 838

Going ahead to step 2:
The number 838 fits into 37 0 times, leaving a remainder of 37.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 37 and we're left with 37.
Include the next digit (9) from the dividend after 37, then repeat: 379 / 838

Going ahead to step 3:
838 can be fit into 379 0 times, resulting in a remainder of 379.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 379, we end up with 379.
Take the next digit (8) from the dividend and append it to 379, then repeat: 3798 / 838

Advancing to step 4:
3798 divided by 838 is 4 with a remainder of 446.
The next digit of our result is 4. 
Result so far: 4.0
Subtract 3352 from 3798 to get 446.
Take the next digit (6) from the dividend and append it to 446, then repeat: 4466 / 838

Let's proceed to step 5:
The number 838 fits into 4466 5 times, leaving a remainder of 276.
Use 5 as the next digit of our solution. 
Result so far: 45.0
Deduct 4190 from 4466 and we're left with 276.
Take the next digit (3) from the dividend and append it to 276, then repeat: 2763 / 838

On to step 6:
2763 divided by 838 is 3 with a remainder of 249.
The number 3 becomes the next digit in our result. 
Result so far: 453.0
Subtracting 2514 from 2763 leaves us with 249.
Append the next digit (9) from the dividend to 249 and continue with: 2499 / 838

Let's proceed to step 7:
838 goes into 2499 2 times with a remainder of 823.
Record the quotient 2 as the next digit in the result. 
Result so far: 4532.0
Deduct 1676 from 2499 and we're left with 823.
Take the next digit (8) from the dividend and append it to 823, then repeat: 8238 / 838

Advancing to step 8:
If we divide 8238 by 838, we get 9 and a remainder of 696.
The next digit of our result is 9. 
Result so far: 45329.0
If we take 7542 away from 8238, we end up with 696.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6960, and continue the process.

Advancing to step 9:
838 goes into 6960 8 times with a remainder of 256.
Use 8 as the next digit of our solution. 
Result so far: 45329.8
If we subtract 6704 from 6960, we get 256.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2560, and continue the process.

On to step 10:
838 goes into 2560 3 times with a remainder of 46.
Use 3 as the next digit of our solution. 
Result so far: 45329.83
If we subtract 2514 from 2560, we get 46.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

On to step 11:
838 goes into 460 0 times with a remainder of 460.
Use 0 as the next digit of our solution. 
Result so far: 45329.83
The remainder is 460 after subtracting 0 from 460.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4600, and continue the process.

Let's proceed to step 12:
838 goes into 4600 5 times with a remainder of 410.
Use 5 as the next digit of our solution. 
Result so far: 45329.8305
Subtracting 4190 from 4600 leaves us with 410.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4100, and continue the process.

On to step 13:
If we divide 4100 by 838, we get 4 and a remainder of 748.
Put 4 as the next digit of the answer. 
Result so far: 45329.83054
Subtracting 3352 from 4100 leaves us with 748.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7480, and continue the process.

Going ahead to step 14:
7480 divided by 838 is 8 with a remainder of 776.
Use 8 as the next digit of our solution. 
Result so far: 45329.830548
Subtract 6704 from 7480 to get 776.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7760, and continue the process.

On to step 15:
When dividing 7760 by 838, we get 9 with a remainder of 218.
Use 9 as the next digit of our solution. 
Result so far: 45329.8305489
The remainder is 218 after subtracting 7542 from 7760.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2180, and continue the process.

On to step 16:
The number 838 fits into 2180 2 times, leaving a remainder of 504.
Write down 2 as next digit of the result. 
Result so far: 45329.83054892
Subtracting 1676 from 2180 leaves us with 504.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5040, and continue the process.

The final result is 45329.83054892 with a remainder of 5.04e-07.