We look at the division of 37871891 by 790 
We want to divide 37871891 by 790.

Advancing to step 1:
790 goes into 3 0 times with a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Include the next digit (7) from the dividend after 3, then repeat: 37 / 790

Let's proceed to step 2:
When dividing 37 by 790, we get 0 with a remainder of 37.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 37 after subtracting 0 from 37.
Append the next digit (8) from the dividend to 37 and continue with: 378 / 790

Step 3:
378 divided by 790 is 0 with a remainder of 378.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 378, we end up with 378.
Fetch the next digit (7) from the dividend, attach it to 378 and continue: 3787 / 790

Let's proceed to step 4:
3787 divided by 790 is 4 with a remainder of 627.
Write down 4 as next digit of the result. 
Result so far: 4.0
Deduct 3160 from 3787 and we're left with 627.
Take the next digit (1) from the dividend and append it to 627, then repeat: 6271 / 790

Moving on to step 5:
The number 790 fits into 6271 7 times, leaving a remainder of 741.
Use 7 as the next digit of our solution. 
Result so far: 47.0
Subtracting 5530 from 6271 leaves us with 741.
Append the next digit (8) from the dividend to 741 and continue with: 7418 / 790

Moving on to step 6:
The number 790 fits into 7418 9 times, leaving a remainder of 308.
Put 9 as the next digit of the answer. 
Result so far: 479.0
Subtracting 7110 from 7418 leaves us with 308.
Include the next digit (9) from the dividend after 308, then repeat: 3089 / 790

Going ahead to step 7:
790 goes into 3089 3 times with a remainder of 719.
Write down 3 as next digit of the result. 
Result so far: 4793.0
Subtracting 2370 from 3089 leaves us with 719.
Fetch the next digit (1) from the dividend, attach it to 719 and continue: 7191 / 790

Advancing to step 8:
790 can be fit into 7191 9 times, resulting in a remainder of 81.
The number 9 becomes the next digit in our result. 
Result so far: 47939.0
Subtract 7110 from 7191 to get 81.
Since there are no more digits in the dividend, we add a zero to the remainder making it 810, and continue the process.

On to step 9:
When dividing 810 by 790, we get 1 with a remainder of 20.
The next digit of our result is 1. 
Result so far: 47939.1
If we subtract 790 from 810, we get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Advancing to step 10:
When dividing 200 by 790, we get 0 with a remainder of 200.
Use 0 as the next digit of our solution. 
Result so far: 47939.1
The remainder is 200 after subtracting 0 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2000, and continue the process.

Going ahead to step 11:
790 goes into 2000 2 times with a remainder of 420.
Put 2 as the next digit of the answer. 
Result so far: 47939.102
Subtract 1580 from 2000 to get 420.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4200, and continue the process.

Going ahead to step 12:
The number 790 fits into 4200 5 times, leaving a remainder of 250.
The number 5 becomes the next digit in our result. 
Result so far: 47939.1025
Subtract 3950 from 4200 to get 250.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2500, and continue the process.

Moving on to step 13:
790 goes into 2500 3 times with a remainder of 130.
Write down 3 as next digit of the result. 
Result so far: 47939.10253
If we take 2370 away from 2500, we end up with 130.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1300, and continue the process.

Step 14:
790 goes into 1300 1 times with a remainder of 510.
Put 1 as the next digit of the answer. 
Result so far: 47939.102531
Subtracting 790 from 1300 leaves us with 510.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5100, and continue the process.

Step 15:
5100 divided by 790 is 6 with a remainder of 360.
Put 6 as the next digit of the answer. 
Result so far: 47939.1025316
If we subtract 4740 from 5100, we get 360.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3600, and continue the process.

On to step 16:
3600 divided by 790 is 4 with a remainder of 440.
The number 4 becomes the next digit in our result. 
Result so far: 47939.10253164
Deduct 3160 from 3600 and we're left with 440.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4400, and continue the process.

The final outcome is 47939.10253164, with a leftover of 4.4e-07.