Let's divide 402944 by 87
We want to divide 402944 by 87.

Advancing to step 1:
87 goes into 4 0 times with a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Take the next digit (0) from the dividend and append it to 4, then repeat: 40 / 87

Advancing to step 2:
87 can be fit into 40 0 times, resulting in a remainder of 40.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 40 leaves us with 40.
Include the next digit (2) from the dividend after 40, then repeat: 402 / 87

Step 3:
If we divide 402 by 87, we get 4 and a remainder of 54.
Record the quotient 4 as the next digit in the result. 
Result so far: 4.0
Subtract 348 from 402 to get 54.
Include the next digit (9) from the dividend after 54, then repeat: 549 / 87

Advancing to step 4:
549 divided by 87 is 6 with a remainder of 27.
Put 6 as the next digit of the answer. 
Result so far: 46.0
Subtracting 522 from 549 leaves us with 27.
Append the next digit (4) from the dividend to 27 and continue with: 274 / 87

Step 5:
The number 87 fits into 274 3 times, leaving a remainder of 13.
The next digit of our result is 3. 
Result so far: 463.0
If we take 261 away from 274, we end up with 13.
Include the next digit (4) from the dividend after 13, then repeat: 134 / 87

Going ahead to step 6:
When dividing 134 by 87, we get 1 with a remainder of 47.
The next digit of our result is 1. 
Result so far: 4631.0
Subtracting 87 from 134 leaves us with 47.
Since there are no more digits in the dividend, we add a zero to the remainder making it 470, and continue the process.

Moving on to step 7:
The number 87 fits into 470 5 times, leaving a remainder of 35.
Put 5 as the next digit of the answer. 
Result so far: 4631.5
The remainder is 35 after subtracting 435 from 470.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Going ahead to step 8:
350 divided by 87 is 4 with a remainder of 2.
Record the quotient 4 as the next digit in the result. 
Result so far: 4631.54
The remainder is 2 after subtracting 348 from 350.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

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

On to step 10:
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: 4631.5402
Deduct 174 from 200 and we're left with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Moving on to step 11:
260 divided by 87 is 2 with a remainder of 86.
The number 2 becomes the next digit in our result. 
Result so far: 4631.54022
If we subtract 174 from 260, we 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 4631.54022, with a leftover of 8.6e-05.