Let's divide 197131 by 31
We want to divide 197131 by 31.

Going ahead to step 1:
When dividing 1 by 31, we get 0 with a remainder of 1.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 1 to get 1.
Append the next digit (9) from the dividend to 1 and continue with: 19 / 31

Step 2:
31 goes into 19 0 times with a remainder of 19.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 19 to get 19.
Grab the next digit (7) from the dividend, add it to 19, then carry on: 197 / 31

Going ahead to step 3:
When dividing 197 by 31, we get 6 with a remainder of 11.
The number 6 becomes the next digit in our result. 
Result so far: 6.0
Subtracting 186 from 197 leaves us with 11.
Include the next digit (1) from the dividend after 11, then repeat: 111 / 31

On to step 4:
31 can be fit into 111 3 times, resulting in a remainder of 18.
Record the quotient 3 as the next digit in the result. 
Result so far: 63.0
Deduct 93 from 111 and we're left with 18.
Append the next digit (3) from the dividend to 18 and continue with: 183 / 31

On to step 5:
31 goes into 183 5 times with a remainder of 28.
Use 5 as the next digit of our solution. 
Result so far: 635.0
Subtract 155 from 183 to get 28.
Take the next digit (1) from the dividend and append it to 28, then repeat: 281 / 31

Moving on to step 6:
When dividing 281 by 31, we get 9 with a remainder of 2.
Write down 9 as next digit of the result. 
Result so far: 6359.0
If we take 279 away from 281, we end up with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Advancing to step 7:
20 divided by 31 is 0 with a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 6359.0
If we subtract 0 from 20, we get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Advancing to step 8:
When dividing 200 by 31, we get 6 with a remainder of 14.
The number 6 becomes the next digit in our result. 
Result so far: 6359.06
Deduct 186 from 200 and we're left with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Let's proceed to step 9:
31 can be fit into 140 4 times, resulting in a remainder of 16.
The next digit of our result is 4. 
Result so far: 6359.064
If we take 124 away from 140, we end up with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Moving on to step 10:
The number 31 fits into 160 5 times, leaving a remainder of 5.
Record the quotient 5 as the next digit in the result. 
Result so far: 6359.0645
Deduct 155 from 160 and we're left with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Advancing to step 11:
If we divide 50 by 31, we get 1 and a remainder of 19.
The next digit of our result is 1. 
Result so far: 6359.06451
The remainder is 19 after subtracting 31 from 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Going ahead to step 12:
31 can be fit into 190 6 times, resulting in a remainder of 4.
The next digit of our result is 6. 
Result so far: 6359.064516
Subtracting 186 from 190 leaves us with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Moving on to step 13:
31 goes into 40 1 times with a remainder of 9.
The number 1 becomes the next digit in our result. 
Result so far: 6359.0645161
Subtract 31 from 40 to get 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Going ahead to step 14:
31 can be fit into 90 2 times, resulting in a remainder of 28.
Put 2 as the next digit of the answer. 
Result so far: 6359.06451612
If we subtract 62 from 90, we get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

The final outcome is 6359.06451612, with a leftover of 2.8e-08.