We're dividing 3587 by 90 
We want to divide 3587 by 90.

Let's proceed to step 1:
If we divide 3 by 90, we get 0 and a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Fetch the next digit (5) from the dividend, attach it to 3 and continue: 35 / 90

Going ahead to step 2:
90 goes into 35 0 times with a remainder of 35.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 35, we get 35.
Include the next digit (8) from the dividend after 35, then repeat: 358 / 90

Let's proceed to step 3:
When dividing 358 by 90, we get 3 with a remainder of 88.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
Subtract 270 from 358 to get 88.
Fetch the next digit (7) from the dividend, attach it to 88 and continue: 887 / 90

Let's proceed to step 4:
The number 90 fits into 887 9 times, leaving a remainder of 77.
Put 9 as the next digit of the answer. 
Result so far: 39.0
Subtract 810 from 887 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.

Moving on to step 5:
90 can be fit into 770 8 times, resulting in a remainder of 50.
Record the quotient 8 as the next digit in the result. 
Result so far: 39.8
Subtract 720 from 770 to get 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

On to step 6:
The number 90 fits into 500 5 times, leaving a remainder of 50.
Use 5 as the next digit of our solution. 
Result so far: 39.85
If we subtract 450 from 500, we get 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

Step 7:
If we divide 500 by 90, we get 5 and a remainder of 50.
Use 5 as the next digit of our solution. 
Result so far: 39.855
If we take 450 away from 500, we end up with 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

The quotient of the division is 39.855, and the remainder is 0.005.