Let's divide 870387 by 97
We want to divide 870387 by 97.

Going ahead to step 1:
The number 97 fits into 8 0 times, leaving a remainder of 8.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 8 leaves us with 8.
Include the next digit (7) from the dividend after 8, then repeat: 87 / 97

Let's proceed to step 2:
87 divided by 97 is 0 with a remainder of 87.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 87, we get 87.
Append the next digit (0) from the dividend to 87 and continue with: 870 / 97

On to step 3:
If we divide 870 by 97, we get 8 and a remainder of 94.
Write down 8 as next digit of the result. 
Result so far: 8.0
If we subtract 776 from 870, we get 94.
Include the next digit (3) from the dividend after 94, then repeat: 943 / 97

Going ahead to step 4:
If we divide 943 by 97, we get 9 and a remainder of 70.
Use 9 as the next digit of our solution. 
Result so far: 89.0
Subtracting 873 from 943 leaves us with 70.
Append the next digit (8) from the dividend to 70 and continue with: 708 / 97

Moving on to step 5:
97 can be fit into 708 7 times, resulting in a remainder of 29.
Put 7 as the next digit of the answer. 
Result so far: 897.0
Subtract 679 from 708 to get 29.
Bring next digit (7) of the dividend behind the 29 and repeat the process: 297 / 97

Step 6:
If we divide 297 by 97, we get 3 and a remainder of 6.
Put 3 as the next digit of the answer. 
Result so far: 8973.0
If we subtract 291 from 297, we get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Moving on to step 7:
If we divide 60 by 97, we get 0 and a remainder of 60.
Put 0 as the next digit of the answer. 
Result so far: 8973.0
The remainder is 60 after subtracting 0 from 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 600, and continue the process.

On to step 8:
If we divide 600 by 97, we get 6 and a remainder of 18.
Put 6 as the next digit of the answer. 
Result so far: 8973.06
The remainder is 18 after subtracting 582 from 600.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

On to step 9:
180 divided by 97 is 1 with a remainder of 83.
Put 1 as the next digit of the answer. 
Result so far: 8973.061
If we subtract 97 from 180, we get 83.
Since there are no more digits in the dividend, we add a zero to the remainder making it 830, and continue the process.

Step 10:
97 goes into 830 8 times with a remainder of 54.
The number 8 becomes the next digit in our result. 
Result so far: 8973.0618
Deduct 776 from 830 and we're left with 54.
Since there are no more digits in the dividend, we add a zero to the remainder making it 540, and continue the process.

Going ahead to step 11:
97 can be fit into 540 5 times, resulting in a remainder of 55.
Write down 5 as next digit of the result. 
Result so far: 8973.06185
Subtracting 485 from 540 leaves us with 55.
Since there are no more digits in the dividend, we add a zero to the remainder making it 550, and continue the process.

On to step 12:
If we divide 550 by 97, we get 5 and a remainder of 65.
Put 5 as the next digit of the answer. 
Result so far: 8973.061855
Subtract 485 from 550 to get 65.
Since there are no more digits in the dividend, we add a zero to the remainder making it 650, and continue the process.

After the division, we end up with 8973.061855 and a remainder of 6.5e-06.