38059855 ÷ 791 
We want to divide 38059855 by 791.

Going ahead to step 1:
If we divide 3 by 791, we get 0 and a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Grab the next digit (8) from the dividend, add it to 3, then carry on: 38 / 791

On to step 2:
38 divided by 791 is 0 with a remainder of 38.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 38, we end up with 38.
Take the next digit (0) from the dividend and append it to 38, then repeat: 380 / 791

Let's proceed to step 3:
The number 791 fits into 380 0 times, leaving a remainder of 380.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 380, we get 380.
Take the next digit (5) from the dividend and append it to 380, then repeat: 3805 / 791

Moving on to step 4:
The number 791 fits into 3805 4 times, leaving a remainder of 641.
Put 4 as the next digit of the answer. 
Result so far: 4.0
The remainder is 641 after subtracting 3164 from 3805.
Grab the next digit (9) from the dividend, add it to 641, then carry on: 6419 / 791

Let's proceed to step 5:
791 goes into 6419 8 times with a remainder of 91.
The number 8 becomes the next digit in our result. 
Result so far: 48.0
If we take 6328 away from 6419, we end up with 91.
Grab the next digit (8) from the dividend, add it to 91, then carry on: 918 / 791

Let's proceed to step 6:
If we divide 918 by 791, we get 1 and a remainder of 127.
The next digit of our result is 1. 
Result so far: 481.0
Subtracting 791 from 918 leaves us with 127.
Append the next digit (5) from the dividend to 127 and continue with: 1275 / 791

Step 7:
When dividing 1275 by 791, we get 1 with a remainder of 484.
Write down 1 as next digit of the result. 
Result so far: 4811.0
If we subtract 791 from 1275, we get 484.
Bring next digit (5) of the dividend behind the 484 and repeat the process: 4845 / 791

On to step 8:
791 can be fit into 4845 6 times, resulting in a remainder of 99.
The number 6 becomes the next digit in our result. 
Result so far: 48116.0
The remainder is 99 after subtracting 4746 from 4845.
Since there are no more digits in the dividend, we add a zero to the remainder making it 990, and continue the process.

Moving on to step 9:
791 goes into 990 1 times with a remainder of 199.
Put 1 as the next digit of the answer. 
Result so far: 48116.1
Subtract 791 from 990 to get 199.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1990, and continue the process.

Let's proceed to step 10:
791 can be fit into 1990 2 times, resulting in a remainder of 408.
Write down 2 as next digit of the result. 
Result so far: 48116.12
Subtract 1582 from 1990 to get 408.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4080, and continue the process.

On to step 11:
When dividing 4080 by 791, we get 5 with a remainder of 125.
Record the quotient 5 as the next digit in the result. 
Result so far: 48116.125
Subtract 3955 from 4080 to get 125.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1250, and continue the process.

On to step 12:
791 can be fit into 1250 1 times, resulting in a remainder of 459.
Record the quotient 1 as the next digit in the result. 
Result so far: 48116.1251
Subtract 791 from 1250 to get 459.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4590, and continue the process.

Going ahead to step 13:
The number 791 fits into 4590 5 times, leaving a remainder of 635.
Use 5 as the next digit of our solution. 
Result so far: 48116.12515
Deduct 3955 from 4590 and we're left with 635.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6350, and continue the process.

Going ahead to step 14:
791 goes into 6350 8 times with a remainder of 22.
Put 8 as the next digit of the answer. 
Result so far: 48116.125158
If we take 6328 away from 6350, we end up with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Going ahead to step 15:
The number 791 fits into 220 0 times, leaving a remainder of 220.
The next digit of our result is 0. 
Result so far: 48116.125158
Deduct 0 from 220 and we're left with 220.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2200, and continue the process.

Going ahead to step 16:
When dividing 2200 by 791, we get 2 with a remainder of 618.
Use 2 as the next digit of our solution. 
Result so far: 48116.12515802
Deduct 1582 from 2200 and we're left with 618.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6180, and continue the process.

Our division results in 48116.12515802 with a remaining 6.18e-07.