We divide 5937287 by 586
We want to divide 5937287 by 586.

On to step 1:
When dividing 5 by 586, we get 0 with a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Bring next digit (9) of the dividend behind the 5 and repeat the process: 59 / 586

On to step 2:
When dividing 59 by 586, we get 0 with a remainder of 59.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 59 to get 59.
Append the next digit (3) from the dividend to 59 and continue with: 593 / 586

Advancing to step 3:
593 divided by 586 is 1 with a remainder of 7.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we subtract 586 from 593, we get 7.
Bring next digit (7) of the dividend behind the 7 and repeat the process: 77 / 586

On to step 4:
77 divided by 586 is 0 with a remainder of 77.
Record the quotient 0 as the next digit in the result. 
Result so far: 10.0
The remainder is 77 after subtracting 0 from 77.
Append the next digit (2) from the dividend to 77 and continue with: 772 / 586

Moving on to step 5:
586 goes into 772 1 times with a remainder of 186.
Write down 1 as next digit of the result. 
Result so far: 101.0
If we subtract 586 from 772, we get 186.
Bring next digit (8) of the dividend behind the 186 and repeat the process: 1868 / 586

Going ahead to step 6:
1868 divided by 586 is 3 with a remainder of 110.
Put 3 as the next digit of the answer. 
Result so far: 1013.0
If we subtract 1758 from 1868, we get 110.
Append the next digit (7) from the dividend to 110 and continue with: 1107 / 586

Advancing to step 7:
586 can be fit into 1107 1 times, resulting in a remainder of 521.
Record the quotient 1 as the next digit in the result. 
Result so far: 10131.0
The remainder is 521 after subtracting 586 from 1107.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5210, and continue the process.

Step 8:
The number 586 fits into 5210 8 times, leaving a remainder of 522.
Use 8 as the next digit of our solution. 
Result so far: 10131.8
Deduct 4688 from 5210 and we're left with 522.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5220, and continue the process.

Going ahead to step 9:
586 can be fit into 5220 8 times, resulting in a remainder of 532.
The number 8 becomes the next digit in our result. 
Result so far: 10131.88
Subtracting 4688 from 5220 leaves us with 532.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5320, and continue the process.

Our division results in 10131.88 with a remaining 0.532.