Let's divide 587227 by 97
Our goal is to divide 587227 by 97.

Going ahead to step 1:
97 can be fit into 5 0 times, resulting in a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Include the next digit (8) from the dividend after 5, then repeat: 58 / 97

On to step 2:
97 can be fit into 58 0 times, resulting in a remainder of 58.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 58 and we're left with 58.
Include the next digit (7) from the dividend after 58, then repeat: 587 / 97

Step 3:
When dividing 587 by 97, we get 6 with a remainder of 5.
Put 6 as the next digit of the answer. 
Result so far: 6.0
Deduct 582 from 587 and we're left with 5.
Bring next digit (2) of the dividend behind the 5 and repeat the process: 52 / 97

Moving on to step 4:
If we divide 52 by 97, we get 0 and a remainder of 52.
The number 0 becomes the next digit in our result. 
Result so far: 60.0
The remainder is 52 after subtracting 0 from 52.
Append the next digit (2) from the dividend to 52 and continue with: 522 / 97

Going ahead to step 5:
97 goes into 522 5 times with a remainder of 37.
Write down 5 as next digit of the result. 
Result so far: 605.0
Subtract 485 from 522 to get 37.
Fetch the next digit (7) from the dividend, attach it to 37 and continue: 377 / 97

Advancing to step 6:
97 can be fit into 377 3 times, resulting in a remainder of 86.
Use 3 as the next digit of our solution. 
Result so far: 6053.0
Subtract 291 from 377 to get 86.
Since there are no more digits in the dividend, we add a zero to the remainder making it 860, and continue the process.

Going ahead to step 7:
860 divided by 97 is 8 with a remainder of 84.
The next digit of our result is 8. 
Result so far: 6053.8
Deduct 776 from 860 and we're left with 84.
Since there are no more digits in the dividend, we add a zero to the remainder making it 840, and continue the process.

Moving on to step 8:
When dividing 840 by 97, we get 8 with a remainder of 64.
Use 8 as the next digit of our solution. 
Result so far: 6053.88
Subtracting 776 from 840 leaves us with 64.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

After the division, we end up with 6053.88 and a remainder of 0.064.