40274 ÷ 87 
Let's see how many times 87 fits into 40274.

Moving on to step 1:
If we divide 4 by 87, we get 0 and a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 4 after subtracting 0 from 4.
Bring next digit (0) of the dividend behind the 4 and repeat the process: 40 / 87

Moving on to step 2:
When dividing 40 by 87, we get 0 with a remainder of 40.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 40 to get 40.
Take the next digit (2) from the dividend and append it to 40, then repeat: 402 / 87

Moving on to step 3:
87 can be fit into 402 4 times, resulting in 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.
Bring next digit (7) of the dividend behind the 54 and repeat the process: 547 / 87

Step 4:
87 can be fit into 547 6 times, resulting in a remainder of 25.
The next digit of our result is 6. 
Result so far: 46.0
If we subtract 522 from 547, we get 25.
Grab the next digit (4) from the dividend, add it to 25, then carry on: 254 / 87

On to step 5:
When dividing 254 by 87, we get 2 with a remainder of 80.
Put 2 as the next digit of the answer. 
Result so far: 462.0
If we take 174 away from 254, we end up with 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 800, and continue the process.

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

On to step 7:
87 can be fit into 170 1 times, resulting in a remainder of 83.
Put 1 as the next digit of the answer. 
Result so far: 462.91
The remainder is 83 after subtracting 87 from 170.
Since there are no more digits in the dividend, we add a zero to the remainder making it 830, and continue the process.

On to step 8:
The number 87 fits into 830 9 times, leaving a remainder of 47.
The next digit of our result is 9. 
Result so far: 462.919
If we subtract 783 from 830, we get 47.
Since there are no more digits in the dividend, we add a zero to the remainder making it 470, and continue the process.

Step 9:
If we divide 470 by 87, we get 5 and a remainder of 35.
Write down 5 as next digit of the result. 
Result so far: 462.9195
Subtracting 435 from 470 leaves us with 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Step 10:
350 divided by 87 is 4 with a remainder of 2.
Put 4 as the next digit of the answer. 
Result so far: 462.91954
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.

Advancing to step 11:
If we divide 20 by 87, we get 0 and a remainder of 20.
The next digit of our result is 0. 
Result so far: 462.91954
If we take 0 away from 20, we end up with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Going ahead to step 12:
87 can be fit into 200 2 times, resulting in a remainder of 26.
Use 2 as the next digit of our solution. 
Result so far: 462.9195402
Subtracting 174 from 200 leaves us 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 13:
260 divided by 87 is 2 with a remainder of 86.
The number 2 becomes the next digit in our result. 
Result so far: 462.91954022
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.

After the division, we end up with 462.91954022 and a remainder of 8.6e-08.