We look at the division of 38771948 by 502 
Our goal is to divide 38771948 by 502.

On to step 1:
The number 502 fits into 3 0 times, leaving a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Bring next digit (8) of the dividend behind the 3 and repeat the process: 38 / 502

Moving on to step 2:
If we divide 38 by 502, we get 0 and 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.
Take the next digit (7) from the dividend and append it to 38, then repeat: 387 / 502

Moving on to step 3:
502 goes into 387 0 times with a remainder of 387.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 387 and we're left with 387.
Bring next digit (7) of the dividend behind the 387 and repeat the process: 3877 / 502

Advancing to step 4:
The number 502 fits into 3877 7 times, leaving a remainder of 363.
Use 7 as the next digit of our solution. 
Result so far: 7.0
Subtract 3514 from 3877 to get 363.
Grab the next digit (1) from the dividend, add it to 363, then carry on: 3631 / 502

On to step 5:
502 can be fit into 3631 7 times, resulting in a remainder of 117.
Use 7 as the next digit of our solution. 
Result so far: 77.0
The remainder is 117 after subtracting 3514 from 3631.
Append the next digit (9) from the dividend to 117 and continue with: 1179 / 502

Let's proceed to step 6:
The number 502 fits into 1179 2 times, leaving a remainder of 175.
Put 2 as the next digit of the answer. 
Result so far: 772.0
Deduct 1004 from 1179 and we're left with 175.
Bring next digit (4) of the dividend behind the 175 and repeat the process: 1754 / 502

On to step 7:
If we divide 1754 by 502, we get 3 and a remainder of 248.
The number 3 becomes the next digit in our result. 
Result so far: 7723.0
Subtracting 1506 from 1754 leaves us with 248.
Take the next digit (8) from the dividend and append it to 248, then repeat: 2488 / 502

Going ahead to step 8:
502 goes into 2488 4 times with a remainder of 480.
Record the quotient 4 as the next digit in the result. 
Result so far: 77234.0
Deduct 2008 from 2488 and we're left with 480.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4800, and continue the process.

Moving on to step 9:
502 goes into 4800 9 times with a remainder of 282.
Record the quotient 9 as the next digit in the result. 
Result so far: 77234.9
If we take 4518 away from 4800, we end up with 282.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2820, and continue the process.

Step 10:
502 can be fit into 2820 5 times, resulting in a remainder of 310.
Write down 5 as next digit of the result. 
Result so far: 77234.95
Deduct 2510 from 2820 and we're left with 310.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3100, and continue the process.

Advancing to step 11:
If we divide 3100 by 502, we get 6 and a remainder of 88.
Put 6 as the next digit of the answer. 
Result so far: 77234.956
If we subtract 3012 from 3100, we get 88.
Since there are no more digits in the dividend, we add a zero to the remainder making it 880, and continue the process.

Going ahead to step 12:
502 goes into 880 1 times with a remainder of 378.
The number 1 becomes the next digit in our result. 
Result so far: 77234.9561
If we take 502 away from 880, we end up with 378.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3780, and continue the process.

Step 13:
502 goes into 3780 7 times with a remainder of 266.
Put 7 as the next digit of the answer. 
Result so far: 77234.95617
Subtracting 3514 from 3780 leaves us with 266.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2660, and continue the process.

Moving on to step 14:
The number 502 fits into 2660 5 times, leaving a remainder of 150.
Record the quotient 5 as the next digit in the result. 
Result so far: 77234.956175
Subtracting 2510 from 2660 leaves us with 150.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1500, and continue the process.

On to step 15:
502 can be fit into 1500 2 times, resulting in a remainder of 496.
Write down 2 as next digit of the result. 
Result so far: 77234.9561752
If we take 1004 away from 1500, we end up with 496.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4960, and continue the process.

Step 16:
4960 divided by 502 is 9 with a remainder of 442.
Put 9 as the next digit of the answer. 
Result so far: 77234.95617529
Subtracting 4518 from 4960 leaves us with 442.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4420, and continue the process.

The final result is 77234.95617529 with a remainder of 4.42e-07.