We're dividing 371249 by 87 
We want to divide 371249 by 87.

On to step 1:
The number 87 fits into 3 0 times, leaving a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Include the next digit (7) from the dividend after 3, then repeat: 37 / 87

On to step 2:
If we divide 37 by 87, we get 0 and a remainder of 37.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 37, we end up with 37.
Grab the next digit (1) from the dividend, add it to 37, then carry on: 371 / 87

On to step 3:
87 goes into 371 4 times with a remainder of 23.
The next digit of our result is 4. 
Result so far: 4.0
Subtracting 348 from 371 leaves us with 23.
Append the next digit (2) from the dividend to 23 and continue with: 232 / 87

On to step 4:
232 divided by 87 is 2 with a remainder of 58.
Put 2 as the next digit of the answer. 
Result so far: 42.0
The remainder is 58 after subtracting 174 from 232.
Bring next digit (4) of the dividend behind the 58 and repeat the process: 584 / 87

Advancing to step 5:
When dividing 584 by 87, we get 6 with a remainder of 62.
The next digit of our result is 6. 
Result so far: 426.0
Deduct 522 from 584 and we're left with 62.
Bring next digit (9) of the dividend behind the 62 and repeat the process: 629 / 87

Going ahead to step 6:
87 goes into 629 7 times with a remainder of 20.
The number 7 becomes the next digit in our result. 
Result so far: 4267.0
If we subtract 609 from 629, 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.

Step 7:
If we divide 200 by 87, we get 2 and a remainder of 26.
The number 2 becomes the next digit in our result. 
Result so far: 4267.2
If we subtract 174 from 200, we get 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Going ahead to step 8:
When dividing 260 by 87, we get 2 with a remainder of 86.
Put 2 as the next digit of the answer. 
Result so far: 4267.22
Subtract 174 from 260 to get 86.
Since there are no more digits in the dividend, we add a zero to the remainder making it 860, and continue the process.

The final outcome is 4267.22, with a leftover of 0.086.