We're dividing 587974 by 13 
Let's see how many times 13 fits into 587974.

Moving on to step 1:
5 divided by 13 is 0 with a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Bring next digit (8) of the dividend behind the 5 and repeat the process: 58 / 13

Going ahead to step 2:
When dividing 58 by 13, we get 4 with a remainder of 6.
Record the quotient 4 as the next digit in the result. 
Result so far: 4.0
The remainder is 6 after subtracting 52 from 58.
Grab the next digit (7) from the dividend, add it to 6, then carry on: 67 / 13

Moving on to step 3:
The number 13 fits into 67 5 times, leaving a remainder of 2.
Write down 5 as next digit of the result. 
Result so far: 45.0
If we subtract 65 from 67, we get 2.
Append the next digit (9) from the dividend to 2 and continue with: 29 / 13

On to step 4:
The number 13 fits into 29 2 times, leaving a remainder of 3.
Put 2 as the next digit of the answer. 
Result so far: 452.0
Subtract 26 from 29 to get 3.
Fetch the next digit (7) from the dividend, attach it to 3 and continue: 37 / 13

Step 5:
If we divide 37 by 13, we get 2 and a remainder of 11.
The next digit of our result is 2. 
Result so far: 4522.0
Subtracting 26 from 37 leaves us with 11.
Bring next digit (4) of the dividend behind the 11 and repeat the process: 114 / 13

Advancing to step 6:
114 divided by 13 is 8 with a remainder of 10.
Use 8 as the next digit of our solution. 
Result so far: 45228.0
Subtracting 104 from 114 leaves us with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Let's proceed to step 7:
The number 13 fits into 100 7 times, leaving a remainder of 9.
Write down 7 as next digit of the result. 
Result so far: 45228.7
The remainder is 9 after subtracting 91 from 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

On to step 8:
The number 13 fits into 90 6 times, leaving a remainder of 12.
Put 6 as the next digit of the answer. 
Result so far: 45228.76
If we take 78 away from 90, we end up with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Going ahead to step 9:
When dividing 120 by 13, we get 9 with a remainder of 3.
Record the quotient 9 as the next digit in the result. 
Result so far: 45228.769
If we subtract 117 from 120, we get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Advancing to step 10:
13 goes into 30 2 times with a remainder of 4.
Write down 2 as next digit of the result. 
Result so far: 45228.7692
If we subtract 26 from 30, we get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Let's proceed to step 11:
When dividing 40 by 13, we get 3 with a remainder of 1.
Write down 3 as next digit of the result. 
Result so far: 45228.76923
The remainder is 1 after subtracting 39 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Let's proceed to step 12:
13 goes into 10 0 times with a remainder of 10.
Use 0 as the next digit of our solution. 
Result so far: 45228.76923
Subtract 0 from 10 to get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

On to step 13:
100 divided by 13 is 7 with a remainder of 9.
Write down 7 as next digit of the result. 
Result so far: 45228.7692307
If we take 91 away from 100, we end up with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

On to step 14:
13 can be fit into 90 6 times, resulting in a remainder of 12.
The next digit of our result is 6. 
Result so far: 45228.76923076
If we subtract 78 from 90, we get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

The final outcome is 45228.76923076, with a leftover of 1.2e-08.