397442 divided by 87 
Our goal is to divide 397442 by 87.

Going ahead to step 1:
The number 87 fits into 3 0 times, leaving a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Grab the next digit (9) from the dividend, add it to 3, then carry on: 39 / 87

Let's proceed to step 2:
87 goes into 39 0 times with a remainder of 39.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 39, we get 39.
Take the next digit (7) from the dividend and append it to 39, then repeat: 397 / 87

Let's proceed to step 3:
87 goes into 397 4 times with a remainder of 49.
Put 4 as the next digit of the answer. 
Result so far: 4.0
Deduct 348 from 397 and we're left with 49.
Append the next digit (4) from the dividend to 49 and continue with: 494 / 87

Let's proceed to step 4:
When dividing 494 by 87, we get 5 with a remainder of 59.
Put 5 as the next digit of the answer. 
Result so far: 45.0
If we subtract 435 from 494, we get 59.
Grab the next digit (4) from the dividend, add it to 59, then carry on: 594 / 87

Advancing to step 5:
When dividing 594 by 87, we get 6 with a remainder of 72.
Put 6 as the next digit of the answer. 
Result so far: 456.0
Subtract 522 from 594 to get 72.
Bring next digit (2) of the dividend behind the 72 and repeat the process: 722 / 87

Advancing to step 6:
87 goes into 722 8 times with a remainder of 26.
The next digit of our result is 8. 
Result so far: 4568.0
The remainder is 26 after subtracting 696 from 722.
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 7:
260 divided by 87 is 2 with a remainder of 86.
Put 2 as the next digit of the answer. 
Result so far: 4568.2
Subtracting 174 from 260 leaves us with 86.
Since there are no more digits in the dividend, we add a zero to the remainder making it 860, and continue the process.

Let's proceed to step 8:
When dividing 860 by 87, we get 9 with a remainder of 77.
Use 9 as the next digit of our solution. 
Result so far: 4568.29
Subtract 783 from 860 to get 77.
Since there are no more digits in the dividend, we add a zero to the remainder making it 770, and continue the process.

On to step 9:
770 divided by 87 is 8 with a remainder of 74.
The next digit of our result is 8. 
Result so far: 4568.298
If we take 696 away from 770, we end up with 74.
Since there are no more digits in the dividend, we add a zero to the remainder making it 740, and continue the process.

Moving on to step 10:
If we divide 740 by 87, we get 8 and a remainder of 44.
The number 8 becomes the next digit in our result. 
Result so far: 4568.2988
If we take 696 away from 740, we end up with 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

In conclusion, the division gives 4568.2988 with a balance of 0.00044.