Let's divide 51487158 by 370
Let's see how many times 370 fits into 51487158.

Step 1:
If we divide 5 by 370, we get 0 and a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Append the next digit (1) from the dividend to 5 and continue with: 51 / 370

Going ahead to step 2:
If we divide 51 by 370, we get 0 and a remainder of 51.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 51, we get 51.
Include the next digit (4) from the dividend after 51, then repeat: 514 / 370

Moving on to step 3:
514 divided by 370 is 1 with a remainder of 144.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
The remainder is 144 after subtracting 370 from 514.
Append the next digit (8) from the dividend to 144 and continue with: 1448 / 370

On to step 4:
370 can be fit into 1448 3 times, resulting in a remainder of 338.
The number 3 becomes the next digit in our result. 
Result so far: 13.0
Subtract 1110 from 1448 to get 338.
Grab the next digit (7) from the dividend, add it to 338, then carry on: 3387 / 370

Moving on to step 5:
The number 370 fits into 3387 9 times, leaving a remainder of 57.
Put 9 as the next digit of the answer. 
Result so far: 139.0
Subtracting 3330 from 3387 leaves us with 57.
Append the next digit (1) from the dividend to 57 and continue with: 571 / 370

Advancing to step 6:
If we divide 571 by 370, we get 1 and a remainder of 201.
Record the quotient 1 as the next digit in the result. 
Result so far: 1391.0
If we subtract 370 from 571, we get 201.
Include the next digit (5) from the dividend after 201, then repeat: 2015 / 370

Let's proceed to step 7:
370 can be fit into 2015 5 times, resulting in a remainder of 165.
Write down 5 as next digit of the result. 
Result so far: 13915.0
If we take 1850 away from 2015, we end up with 165.
Include the next digit (8) from the dividend after 165, then repeat: 1658 / 370

Advancing to step 8:
1658 divided by 370 is 4 with a remainder of 178.
The number 4 becomes the next digit in our result. 
Result so far: 139154.0
Subtract 1480 from 1658 to get 178.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1780, and continue the process.

On to step 9:
When dividing 1780 by 370, we get 4 with a remainder of 300.
Write down 4 as next digit of the result. 
Result so far: 139154.4
If we take 1480 away from 1780, we end up with 300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3000, and continue the process.

Let's proceed to step 10:
If we divide 3000 by 370, we get 8 and a remainder of 40.
The number 8 becomes the next digit in our result. 
Result so far: 139154.48
Deduct 2960 from 3000 and we're left with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Step 11:
400 divided by 370 is 1 with a remainder of 30.
Use 1 as the next digit of our solution. 
Result so far: 139154.481
Subtracting 370 from 400 leaves us with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Step 12:
When dividing 300 by 370, we get 0 with a remainder of 300.
The next digit of our result is 0. 
Result so far: 139154.481
The remainder is 300 after subtracting 0 from 300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3000, and continue the process.

On to step 13:
When dividing 3000 by 370, we get 8 with a remainder of 40.
Put 8 as the next digit of the answer. 
Result so far: 139154.48108
Subtracting 2960 from 3000 leaves us with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Going ahead to step 14:
370 goes into 400 1 times with a remainder of 30.
Record the quotient 1 as the next digit in the result. 
Result so far: 139154.481081
Subtracting 370 from 400 leaves us with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Moving on to step 15:
370 can be fit into 300 0 times, resulting in a remainder of 300.
Put 0 as the next digit of the answer. 
Result so far: 139154.481081
If we take 0 away from 300, we end up with 300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3000, and continue the process.

Moving on to step 16:
The number 370 fits into 3000 8 times, leaving a remainder of 40.
Write down 8 as next digit of the result. 
Result so far: 139154.48108108
The remainder is 40 after subtracting 2960 from 3000.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

The final outcome is 139154.48108108, with a leftover of 4e-08.