38512268 ÷ 791 
We want to divide 38512268 by 791.

On to step 1:
The number 791 fits into 3 0 times, leaving a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Include the next digit (8) from the dividend after 3, then repeat: 38 / 791

On to step 2:
When dividing 38 by 791, we get 0 with a remainder of 38.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 38 to get 38.
Take the next digit (5) from the dividend and append it to 38, then repeat: 385 / 791

Advancing to step 3:
791 can be fit into 385 0 times, resulting in a remainder of 385.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 385 after subtracting 0 from 385.
Bring next digit (1) of the dividend behind the 385 and repeat the process: 3851 / 791

On to step 4:
3851 divided by 791 is 4 with a remainder of 687.
Write down 4 as next digit of the result. 
Result so far: 4.0
Subtracting 3164 from 3851 leaves us with 687.
Grab the next digit (2) from the dividend, add it to 687, then carry on: 6872 / 791

Step 5:
791 goes into 6872 8 times with a remainder of 544.
Record the quotient 8 as the next digit in the result. 
Result so far: 48.0
Deduct 6328 from 6872 and we're left with 544.
Bring next digit (2) of the dividend behind the 544 and repeat the process: 5442 / 791

Let's proceed to step 6:
When dividing 5442 by 791, we get 6 with a remainder of 696.
The number 6 becomes the next digit in our result. 
Result so far: 486.0
If we take 4746 away from 5442, we end up with 696.
Include the next digit (6) from the dividend after 696, then repeat: 6966 / 791

Advancing to step 7:
If we divide 6966 by 791, we get 8 and a remainder of 638.
Record the quotient 8 as the next digit in the result. 
Result so far: 4868.0
Subtract 6328 from 6966 to get 638.
Grab the next digit (8) from the dividend, add it to 638, then carry on: 6388 / 791

On to step 8:
6388 divided by 791 is 8 with a remainder of 60.
Use 8 as the next digit of our solution. 
Result so far: 48688.0
If we subtract 6328 from 6388, we get 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 600, and continue the process.

Advancing to step 9:
600 divided by 791 is 0 with a remainder of 600.
Use 0 as the next digit of our solution. 
Result so far: 48688.0
Subtracting 0 from 600 leaves us with 600.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6000, and continue the process.

Moving on to step 10:
791 can be fit into 6000 7 times, resulting in a remainder of 463.
The next digit of our result is 7. 
Result so far: 48688.07
The remainder is 463 after subtracting 5537 from 6000.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4630, and continue the process.

Let's proceed to step 11:
4630 divided by 791 is 5 with a remainder of 675.
Record the quotient 5 as the next digit in the result. 
Result so far: 48688.075
Deduct 3955 from 4630 and we're left with 675.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6750, and continue the process.

On to step 12:
6750 divided by 791 is 8 with a remainder of 422.
The next digit of our result is 8. 
Result so far: 48688.0758
Subtract 6328 from 6750 to get 422.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4220, and continue the process.

Advancing to step 13:
If we divide 4220 by 791, we get 5 and a remainder of 265.
The number 5 becomes the next digit in our result. 
Result so far: 48688.07585
Subtract 3955 from 4220 to get 265.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2650, and continue the process.

Moving on to step 14:
791 goes into 2650 3 times with a remainder of 277.
Record the quotient 3 as the next digit in the result. 
Result so far: 48688.075853
The remainder is 277 after subtracting 2373 from 2650.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2770, and continue the process.

Going ahead to step 15:
791 can be fit into 2770 3 times, resulting in a remainder of 397.
The number 3 becomes the next digit in our result. 
Result so far: 48688.0758533
Subtracting 2373 from 2770 leaves us with 397.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3970, and continue the process.

Our division results in 48688.0758533 with a remaining 3.97e-06.