We divide 667946 by 31
Our goal is to divide 667946 by 31.

On to step 1:
If we divide 6 by 31, we get 0 and a remainder of 6.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 6, we end up with 6.
Bring next digit (6) of the dividend behind the 6 and repeat the process: 66 / 31

Advancing to step 2:
66 divided by 31 is 2 with a remainder of 4.
Put 2 as the next digit of the answer. 
Result so far: 2.0
If we subtract 62 from 66, we get 4.
Fetch the next digit (7) from the dividend, attach it to 4 and continue: 47 / 31

Moving on to step 3:
When dividing 47 by 31, we get 1 with a remainder of 16.
Use 1 as the next digit of our solution. 
Result so far: 21.0
Subtract 31 from 47 to get 16.
Bring next digit (9) of the dividend behind the 16 and repeat the process: 169 / 31

Let's proceed to step 4:
When dividing 169 by 31, we get 5 with a remainder of 14.
The next digit of our result is 5. 
Result so far: 215.0
Subtracting 155 from 169 leaves us with 14.
Append the next digit (4) from the dividend to 14 and continue with: 144 / 31

Moving on to step 5:
31 goes into 144 4 times with a remainder of 20.
Put 4 as the next digit of the answer. 
Result so far: 2154.0
Subtracting 124 from 144 leaves us with 20.
Grab the next digit (6) from the dividend, add it to 20, then carry on: 206 / 31

Step 6:
If we divide 206 by 31, we get 6 and a remainder of 20.
Write down 6 as next digit of the result. 
Result so far: 21546.0
Subtracting 186 from 206 leaves us with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

On to step 7:
200 divided by 31 is 6 with a remainder of 14.
Put 6 as the next digit of the answer. 
Result so far: 21546.6
The remainder is 14 after subtracting 186 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Going ahead to step 8:
The number 31 fits into 140 4 times, leaving a remainder of 16.
The number 4 becomes the next digit in our result. 
Result so far: 21546.64
Subtracting 124 from 140 leaves us 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 9:
31 can be fit into 160 5 times, resulting in a remainder of 5.
Use 5 as the next digit of our solution. 
Result so far: 21546.645
If we take 155 away from 160, we end up 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.

Moving on to step 10:
If we divide 50 by 31, we get 1 and a remainder of 19.
Write down 1 as next digit of the result. 
Result so far: 21546.6451
Subtracting 31 from 50 leaves us with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Advancing to step 11:
When dividing 190 by 31, we get 6 with a remainder of 4.
Put 6 as the next digit of the answer. 
Result so far: 21546.64516
Subtract 186 from 190 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Step 12:
When dividing 40 by 31, we get 1 with a remainder of 9.
Write down 1 as next digit of the result. 
Result so far: 21546.645161
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.

On to step 13:
If we divide 90 by 31, we get 2 and a remainder of 28.
Use 2 as the next digit of our solution. 
Result so far: 21546.6451612
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.

Advancing to step 14:
The number 31 fits into 280 9 times, leaving a remainder of 1.
Record the quotient 9 as the next digit in the result. 
Result so far: 21546.64516129
If we subtract 279 from 280, we get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

The final result is 21546.64516129 with a remainder of 1e-09.