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

Advancing to step 1:
97 can be fit into 1 0 times, resulting in a remainder of 1.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 1 leaves us with 1.
Include the next digit (2) from the dividend after 1, then repeat: 12 / 97

Step 2:
The number 97 fits into 12 0 times, leaving a remainder of 12.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 12 and we're left with 12.
Grab the next digit (1) from the dividend, add it to 12, then carry on: 121 / 97

On to step 3:
97 goes into 121 1 times with a remainder of 24.
Write down 1 as next digit of the result. 
Result so far: 1.0
Deduct 97 from 121 and we're left with 24.
Append the next digit (8) from the dividend to 24 and continue with: 248 / 97

On to step 4:
If we divide 248 by 97, we get 2 and a remainder of 54.
Put 2 as the next digit of the answer. 
Result so far: 12.0
If we subtract 194 from 248, we get 54.
Grab the next digit (7) from the dividend, add it to 54, then carry on: 547 / 97

Let's proceed to step 5:
The number 97 fits into 547 5 times, leaving a remainder of 62.
Write down 5 as next digit of the result. 
Result so far: 125.0
Deduct 485 from 547 and we're left with 62.
Since there are no more digits in the dividend, we add a zero to the remainder making it 620, and continue the process.

Moving on to step 6:
When dividing 620 by 97, we get 6 with a remainder of 38.
Record the quotient 6 as the next digit in the result. 
Result so far: 125.6
Deduct 582 from 620 and we're left with 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Moving on to step 7:
When dividing 380 by 97, we get 3 with a remainder of 89.
Use 3 as the next digit of our solution. 
Result so far: 125.63
Subtracting 291 from 380 leaves us with 89.
Since there are no more digits in the dividend, we add a zero to the remainder making it 890, and continue the process.

Let's proceed to step 8:
The number 97 fits into 890 9 times, leaving a remainder of 17.
Put 9 as the next digit of the answer. 
Result so far: 125.639
If we take 873 away from 890, we end up with 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Advancing to step 9:
The number 97 fits into 170 1 times, leaving a remainder of 73.
Put 1 as the next digit of the answer. 
Result so far: 125.6391
Deduct 97 from 170 and we're left with 73.
Since there are no more digits in the dividend, we add a zero to the remainder making it 730, and continue the process.

Going ahead to step 10:
730 divided by 97 is 7 with a remainder of 51.
Record the quotient 7 as the next digit in the result. 
Result so far: 125.63917
The remainder is 51 after subtracting 679 from 730.
Since there are no more digits in the dividend, we add a zero to the remainder making it 510, and continue the process.

Going ahead to step 11:
97 can be fit into 510 5 times, resulting in a remainder of 25.
Write down 5 as next digit of the result. 
Result so far: 125.639175
The remainder is 25 after subtracting 485 from 510.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Moving on to step 12:
When dividing 250 by 97, we get 2 with a remainder of 56.
Use 2 as the next digit of our solution. 
Result so far: 125.6391752
The remainder is 56 after subtracting 194 from 250.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

Let's proceed to step 13:
97 goes into 560 5 times with a remainder of 75.
Record the quotient 5 as the next digit in the result. 
Result so far: 125.63917525
If we take 485 away from 560, we end up with 75.
Since there are no more digits in the dividend, we add a zero to the remainder making it 750, and continue the process.

The final result is 125.63917525 with a remainder of 7.5e-08.