Let's divide 387182 by 37
We want to divide 387182 by 37.

On to step 1:
If we divide 3 by 37, we get 0 and a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Append the next digit (8) from the dividend to 3 and continue with: 38 / 37

On to step 2:
When dividing 38 by 37, we get 1 with a remainder of 1.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we take 37 away from 38, we end up with 1.
Take the next digit (7) from the dividend and append it to 1, then repeat: 17 / 37

Moving on to step 3:
37 can be fit into 17 0 times, resulting in a remainder of 17.
Use 0 as the next digit of our solution. 
Result so far: 10.0
Deduct 0 from 17 and we're left with 17.
Take the next digit (1) from the dividend and append it to 17, then repeat: 171 / 37

Moving on to step 4:
37 goes into 171 4 times with a remainder of 23.
The next digit of our result is 4. 
Result so far: 104.0
The remainder is 23 after subtracting 148 from 171.
Bring next digit (8) of the dividend behind the 23 and repeat the process: 238 / 37

Step 5:
If we divide 238 by 37, we get 6 and a remainder of 16.
Use 6 as the next digit of our solution. 
Result so far: 1046.0
If we take 222 away from 238, we end up with 16.
Fetch the next digit (2) from the dividend, attach it to 16 and continue: 162 / 37

Advancing to step 6:
162 divided by 37 is 4 with a remainder of 14.
Use 4 as the next digit of our solution. 
Result so far: 10464.0
Subtracting 148 from 162 leaves us with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Let's proceed to step 7:
37 goes into 140 3 times with a remainder of 29.
Write down 3 as next digit of the result. 
Result so far: 10464.3
Deduct 111 from 140 and we're left with 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Step 8:
37 can be fit into 290 7 times, resulting in a remainder of 31.
Put 7 as the next digit of the answer. 
Result so far: 10464.37
Subtract 259 from 290 to get 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Moving on to step 9:
If we divide 310 by 37, we get 8 and a remainder of 14.
Record the quotient 8 as the next digit in the result. 
Result so far: 10464.378
If we subtract 296 from 310, we get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Step 10:
When dividing 140 by 37, we get 3 with a remainder of 29.
Use 3 as the next digit of our solution. 
Result so far: 10464.3783
If we take 111 away from 140, we end up with 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

On to step 11:
If we divide 290 by 37, we get 7 and a remainder of 31.
Record the quotient 7 as the next digit in the result. 
Result so far: 10464.37837
If we subtract 259 from 290, we get 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

On to step 12:
37 goes into 310 8 times with a remainder of 14.
Write down 8 as next digit of the result. 
Result so far: 10464.378378
If we subtract 296 from 310, we get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Advancing to step 13:
The number 37 fits into 140 3 times, leaving a remainder of 29.
Write down 3 as next digit of the result. 
Result so far: 10464.3783783
Deduct 111 from 140 and we're left with 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

On to step 14:
The number 37 fits into 290 7 times, leaving a remainder of 31.
The number 7 becomes the next digit in our result. 
Result so far: 10464.37837837
If we subtract 259 from 290, we get 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

The final outcome is 10464.37837837, with a leftover of 3.1e-08.