We divide 331245 by 87
Let's see how many times 87 fits into 331245.

Going ahead to step 1:
87 can be fit into 3 0 times, resulting in a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Include the next digit (3) from the dividend after 3, then repeat: 33 / 87

On to step 2:
If we divide 33 by 87, we get 0 and a remainder of 33.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 33 and we're left with 33.
Grab the next digit (1) from the dividend, add it to 33, then carry on: 331 / 87

Going ahead to step 3:
87 goes into 331 3 times with a remainder of 70.
Write down 3 as next digit of the result. 
Result so far: 3.0
If we subtract 261 from 331, we get 70.
Append the next digit (2) from the dividend to 70 and continue with: 702 / 87

Advancing to step 4:
87 can be fit into 702 8 times, resulting in a remainder of 6.
Record the quotient 8 as the next digit in the result. 
Result so far: 38.0
The remainder is 6 after subtracting 696 from 702.
Grab the next digit (4) from the dividend, add it to 6, then carry on: 64 / 87

Advancing to step 5:
87 goes into 64 0 times with a remainder of 64.
The number 0 becomes the next digit in our result. 
Result so far: 380.0
If we take 0 away from 64, we end up with 64.
Fetch the next digit (5) from the dividend, attach it to 64 and continue: 645 / 87

Let's proceed to step 6:
If we divide 645 by 87, we get 7 and a remainder of 36.
The next digit of our result is 7. 
Result so far: 3807.0
Deduct 609 from 645 and we're left with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Advancing to step 7:
360 divided by 87 is 4 with a remainder of 12.
Record the quotient 4 as the next digit in the result. 
Result so far: 3807.4
Subtract 348 from 360 to get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Advancing to step 8:
The number 87 fits into 120 1 times, leaving a remainder of 33.
Write down 1 as next digit of the result. 
Result so far: 3807.41
If we take 87 away from 120, we end up with 33.
Since there are no more digits in the dividend, we add a zero to the remainder making it 330, and continue the process.

Let's proceed to step 9:
87 goes into 330 3 times with a remainder of 69.
Record the quotient 3 as the next digit in the result. 
Result so far: 3807.413
Deduct 261 from 330 and we're left with 69.
Since there are no more digits in the dividend, we add a zero to the remainder making it 690, and continue the process.

On to step 10:
690 divided by 87 is 7 with a remainder of 81.
The next digit of our result is 7. 
Result so far: 3807.4137
Subtract 609 from 690 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.

Let's proceed to step 11:
810 divided by 87 is 9 with a remainder of 27.
The number 9 becomes the next digit in our result. 
Result so far: 3807.41379
Deduct 783 from 810 and we're left with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Going ahead to step 12:
The number 87 fits into 270 3 times, leaving a remainder of 9.
Record the quotient 3 as the next digit in the result. 
Result so far: 3807.413793
The remainder is 9 after subtracting 261 from 270.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Advancing to step 13:
87 can be fit into 90 1 times, resulting in a remainder of 3.
The number 1 becomes the next digit in our result. 
Result so far: 3807.4137931
If we take 87 away from 90, we end up with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Let's proceed to step 14:
If we divide 30 by 87, we get 0 and a remainder of 30.
The number 0 becomes the next digit in our result. 
Result so far: 3807.4137931
If we take 0 away from 30, we end up 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.

The final result is 3807.4137931 with a remainder of 3e-08.