We look at the division of 590987 by 45 
Let's see how many times 45 fits into 590987.

Advancing to step 1:
45 can be fit into 5 0 times, resulting in a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Fetch the next digit (9) from the dividend, attach it to 5 and continue: 59 / 45

Moving on to step 2:
When dividing 59 by 45, we get 1 with a remainder of 14.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Subtract 45 from 59 to get 14.
Take the next digit (0) from the dividend and append it to 14, then repeat: 140 / 45

Going ahead to step 3:
When dividing 140 by 45, we get 3 with a remainder of 5.
The number 3 becomes the next digit in our result. 
Result so far: 13.0
Subtracting 135 from 140 leaves us with 5.
Append the next digit (9) from the dividend to 5 and continue with: 59 / 45

Step 4:
59 divided by 45 is 1 with a remainder of 14.
Put 1 as the next digit of the answer. 
Result so far: 131.0
Subtract 45 from 59 to get 14.
Append the next digit (8) from the dividend to 14 and continue with: 148 / 45

Going ahead to step 5:
If we divide 148 by 45, we get 3 and a remainder of 13.
Record the quotient 3 as the next digit in the result. 
Result so far: 1313.0
If we subtract 135 from 148, we get 13.
Fetch the next digit (7) from the dividend, attach it to 13 and continue: 137 / 45

Going ahead to step 6:
The number 45 fits into 137 3 times, leaving a remainder of 2.
Use 3 as the next digit of our solution. 
Result so far: 13133.0
If we subtract 135 from 137, we get 2.
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 7:
45 can be fit into 20 0 times, resulting in a remainder of 20.
The number 0 becomes the next digit in our result. 
Result so far: 13133.0
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.

Step 8:
45 can be fit into 200 4 times, resulting in a remainder of 20.
Record the quotient 4 as the next digit in the result. 
Result so far: 13133.04
If we take 180 away from 200, 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.

Moving on to step 9:
When dividing 200 by 45, we get 4 with a remainder of 20.
Put 4 as the next digit of the answer. 
Result so far: 13133.044
If we subtract 180 from 200, 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.

The final outcome is 13133.044, with a leftover of 0.002.