Let's divide 40587330 by 284
Let's see how many times 284 fits into 40587330.

On to step 1:
284 can be fit into 4 0 times, resulting in a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 4, we get 4.
Bring next digit (0) of the dividend behind the 4 and repeat the process: 40 / 284

Step 2:
284 can be fit into 40 0 times, resulting in a remainder of 40.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 40 and we're left with 40.
Fetch the next digit (5) from the dividend, attach it to 40 and continue: 405 / 284

On to step 3:
The number 284 fits into 405 1 times, leaving a remainder of 121.
Write down 1 as next digit of the result. 
Result so far: 1.0
The remainder is 121 after subtracting 284 from 405.
Take the next digit (8) from the dividend and append it to 121, then repeat: 1218 / 284

Step 4:
1218 divided by 284 is 4 with a remainder of 82.
Write down 4 as next digit of the result. 
Result so far: 14.0
Subtracting 1136 from 1218 leaves us with 82.
Include the next digit (7) from the dividend after 82, then repeat: 827 / 284

Let's proceed to step 5:
The number 284 fits into 827 2 times, leaving a remainder of 259.
Put 2 as the next digit of the answer. 
Result so far: 142.0
If we subtract 568 from 827, we get 259.
Bring next digit (3) of the dividend behind the 259 and repeat the process: 2593 / 284

Advancing to step 6:
2593 divided by 284 is 9 with a remainder of 37.
Use 9 as the next digit of our solution. 
Result so far: 1429.0
The remainder is 37 after subtracting 2556 from 2593.
Take the next digit (3) from the dividend and append it to 37, then repeat: 373 / 284

Let's proceed to step 7:
If we divide 373 by 284, we get 1 and a remainder of 89.
Use 1 as the next digit of our solution. 
Result so far: 14291.0
Subtracting 284 from 373 leaves us with 89.
Grab the next digit (0) from the dividend, add it to 89, then carry on: 890 / 284

On to step 8:
The number 284 fits into 890 3 times, leaving a remainder of 38.
The next digit of our result is 3. 
Result so far: 142913.0
If we subtract 852 from 890, we get 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

On to step 9:
284 goes into 380 1 times with a remainder of 96.
Put 1 as the next digit of the answer. 
Result so far: 142913.1
If we take 284 away from 380, we end up with 96.
Since there are no more digits in the dividend, we add a zero to the remainder making it 960, and continue the process.

On to step 10:
When dividing 960 by 284, we get 3 with a remainder of 108.
Use 3 as the next digit of our solution. 
Result so far: 142913.13
Subtract 852 from 960 to get 108.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1080, and continue the process.

Let's proceed to step 11:
The number 284 fits into 1080 3 times, leaving a remainder of 228.
The number 3 becomes the next digit in our result. 
Result so far: 142913.133
Subtract 852 from 1080 to get 228.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2280, and continue the process.

Our division results in 142913.133 with a remaining 0.0228.