Let's divide 38975396 by 124
Let's see how many times 124 fits into 38975396.

Moving on to step 1:
3 divided by 124 is 0 with a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Append the next digit (8) from the dividend to 3 and continue with: 38 / 124

On to step 2:
124 can be fit into 38 0 times, resulting in a remainder of 38.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 38 and we're left with 38.
Append the next digit (9) from the dividend to 38 and continue with: 389 / 124

Let's proceed to step 3:
The number 124 fits into 389 3 times, leaving a remainder of 17.
Use 3 as the next digit of our solution. 
Result so far: 3.0
If we take 372 away from 389, we end up with 17.
Include the next digit (7) from the dividend after 17, then repeat: 177 / 124

Going ahead to step 4:
The number 124 fits into 177 1 times, leaving a remainder of 53.
The number 1 becomes the next digit in our result. 
Result so far: 31.0
The remainder is 53 after subtracting 124 from 177.
Bring next digit (5) of the dividend behind the 53 and repeat the process: 535 / 124

Moving on to step 5:
The number 124 fits into 535 4 times, leaving a remainder of 39.
Use 4 as the next digit of our solution. 
Result so far: 314.0
Deduct 496 from 535 and we're left with 39.
Grab the next digit (3) from the dividend, add it to 39, then carry on: 393 / 124

Advancing to step 6:
If we divide 393 by 124, we get 3 and a remainder of 21.
The number 3 becomes the next digit in our result. 
Result so far: 3143.0
Deduct 372 from 393 and we're left with 21.
Bring next digit (9) of the dividend behind the 21 and repeat the process: 219 / 124

Step 7:
When dividing 219 by 124, we get 1 with a remainder of 95.
Put 1 as the next digit of the answer. 
Result so far: 31431.0
If we take 124 away from 219, we end up with 95.
Fetch the next digit (6) from the dividend, attach it to 95 and continue: 956 / 124

Advancing to step 8:
When dividing 956 by 124, we get 7 with a remainder of 88.
Record the quotient 7 as the next digit in the result. 
Result so far: 314317.0
Subtracting 868 from 956 leaves us with 88.
Since there are no more digits in the dividend, we add a zero to the remainder making it 880, and continue the process.

Advancing to step 9:
If we divide 880 by 124, we get 7 and a remainder of 12.
The next digit of our result is 7. 
Result so far: 314317.7
If we take 868 away from 880, 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.

Let's proceed to step 10:
124 goes into 120 0 times with a remainder of 120.
Write down 0 as next digit of the result. 
Result so far: 314317.7
If we take 0 away from 120, we end up with 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1200, and continue the process.

Step 11:
124 goes into 1200 9 times with a remainder of 84.
The next digit of our result is 9. 
Result so far: 314317.709
Subtracting 1116 from 1200 leaves us with 84.
Since there are no more digits in the dividend, we add a zero to the remainder making it 840, and continue the process.

Advancing to step 12:
124 goes into 840 6 times with a remainder of 96.
Write down 6 as next digit of the result. 
Result so far: 314317.7096
The remainder is 96 after subtracting 744 from 840.
Since there are no more digits in the dividend, we add a zero to the remainder making it 960, and continue the process.

Let's proceed to step 13:
124 goes into 960 7 times with a remainder of 92.
The number 7 becomes the next digit in our result. 
Result so far: 314317.70967
Subtracting 868 from 960 leaves us with 92.
Since there are no more digits in the dividend, we add a zero to the remainder making it 920, and continue the process.

Going ahead to step 14:
If we divide 920 by 124, we get 7 and a remainder of 52.
Use 7 as the next digit of our solution. 
Result so far: 314317.709677
If we take 868 away from 920, we end up with 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

After the division, we end up with 314317.709677 and a remainder of 5.2e-06.