Let's divide 37988578 by 838
We want to figure out the number of times 37988578 can be divided by 838.

Moving on to step 1:
The number 838 fits into 3 0 times, leaving 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.
Include the next digit (7) from the dividend after 3, then repeat: 37 / 838

Going ahead to step 2:
838 goes into 37 0 times with a remainder of 37.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 37, we end up with 37.
Fetch the next digit (9) from the dividend, attach it to 37 and continue: 379 / 838

Going ahead to step 3:
838 goes into 379 0 times with a remainder of 379.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 379 after subtracting 0 from 379.
Fetch the next digit (8) from the dividend, attach it to 379 and continue: 3798 / 838

Step 4:
If we divide 3798 by 838, we get 4 and a remainder of 446.
The number 4 becomes the next digit in our result. 
Result so far: 4.0
Subtract 3352 from 3798 to get 446.
Bring next digit (8) of the dividend behind the 446 and repeat the process: 4468 / 838

Advancing to step 5:
838 can be fit into 4468 5 times, resulting in a remainder of 278.
Write down 5 as next digit of the result. 
Result so far: 45.0
If we subtract 4190 from 4468, we get 278.
Fetch the next digit (5) from the dividend, attach it to 278 and continue: 2785 / 838

Advancing to step 6:
838 can be fit into 2785 3 times, resulting in a remainder of 271.
The next digit of our result is 3. 
Result so far: 453.0
Deduct 2514 from 2785 and we're left with 271.
Take the next digit (7) from the dividend and append it to 271, then repeat: 2717 / 838

Going ahead to step 7:
If we divide 2717 by 838, we get 3 and a remainder of 203.
Use 3 as the next digit of our solution. 
Result so far: 4533.0
If we take 2514 away from 2717, we end up with 203.
Fetch the next digit (8) from the dividend, attach it to 203 and continue: 2038 / 838

Going ahead to step 8:
2038 divided by 838 is 2 with a remainder of 362.
Put 2 as the next digit of the answer. 
Result so far: 45332.0
If we subtract 1676 from 2038, we get 362.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3620, and continue the process.

Step 9:
When dividing 3620 by 838, we get 4 with a remainder of 268.
The number 4 becomes the next digit in our result. 
Result so far: 45332.4
If we take 3352 away from 3620, we end up with 268.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2680, and continue the process.

Moving on to step 10:
The number 838 fits into 2680 3 times, leaving a remainder of 166.
Write down 3 as next digit of the result. 
Result so far: 45332.43
If we subtract 2514 from 2680, we get 166.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1660, and continue the process.

Going ahead to step 11:
When dividing 1660 by 838, we get 1 with a remainder of 822.
The number 1 becomes the next digit in our result. 
Result so far: 45332.431
The remainder is 822 after subtracting 838 from 1660.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8220, and continue the process.

Going ahead to step 12:
The number 838 fits into 8220 9 times, leaving a remainder of 678.
Use 9 as the next digit of our solution. 
Result so far: 45332.4319
If we take 7542 away from 8220, we end up with 678.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6780, and continue the process.

Moving on to step 13:
838 can be fit into 6780 8 times, resulting in a remainder of 76.
Write down 8 as next digit of the result. 
Result so far: 45332.43198
If we take 6704 away from 6780, we end up with 76.
Since there are no more digits in the dividend, we add a zero to the remainder making it 760, and continue the process.

Advancing to step 14:
The number 838 fits into 760 0 times, leaving a remainder of 760.
Use 0 as the next digit of our solution. 
Result so far: 45332.43198
If we subtract 0 from 760, we get 760.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7600, and continue the process.

Moving on to step 15:
If we divide 7600 by 838, we get 9 and a remainder of 58.
Record the quotient 9 as the next digit in the result. 
Result so far: 45332.4319809
Deduct 7542 from 7600 and we're left with 58.
Since there are no more digits in the dividend, we add a zero to the remainder making it 580, and continue the process.

Going ahead to step 16:
If we divide 580 by 838, we get 0 and a remainder of 580.
Write down 0 as next digit of the result. 
Result so far: 45332.4319809
The remainder is 580 after subtracting 0 from 580.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5800, and continue the process.

Our division results in 45332.4319809 with a remaining 5.8e-07.