Let's divide 31584159 by 671
We want to figure out the number of times 31584159 can be divided by 671.

Let's proceed to step 1:
When dividing 3 by 671, we get 0 with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Include the next digit (1) from the dividend after 3, then repeat: 31 / 671

Going ahead to step 2:
671 goes into 31 0 times with a remainder of 31.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 31 to get 31.
Append the next digit (5) from the dividend to 31 and continue with: 315 / 671

Going ahead to step 3:
The number 671 fits into 315 0 times, leaving a remainder of 315.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 315, we end up with 315.
Fetch the next digit (8) from the dividend, attach it to 315 and continue: 3158 / 671

Going ahead to step 4:
The number 671 fits into 3158 4 times, leaving a remainder of 474.
Write down 4 as next digit of the result. 
Result so far: 4.0
If we take 2684 away from 3158, we end up with 474.
Take the next digit (4) from the dividend and append it to 474, then repeat: 4744 / 671

Let's proceed to step 5:
671 goes into 4744 7 times with a remainder of 47.
Write down 7 as next digit of the result. 
Result so far: 47.0
If we take 4697 away from 4744, we end up with 47.
Fetch the next digit (1) from the dividend, attach it to 47 and continue: 471 / 671

Step 6:
671 goes into 471 0 times with a remainder of 471.
Write down 0 as next digit of the result. 
Result so far: 470.0
If we take 0 away from 471, we end up with 471.
Grab the next digit (5) from the dividend, add it to 471, then carry on: 4715 / 671

Let's proceed to step 7:
When dividing 4715 by 671, we get 7 with a remainder of 18.
The next digit of our result is 7. 
Result so far: 4707.0
If we take 4697 away from 4715, we end up with 18.
Fetch the next digit (9) from the dividend, attach it to 18 and continue: 189 / 671

On to step 8:
189 divided by 671 is 0 with a remainder of 189.
Use 0 as the next digit of our solution. 
Result so far: 47070.0
If we take 0 away from 189, we end up with 189.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1890, and continue the process.

Moving on to step 9:
The number 671 fits into 1890 2 times, leaving a remainder of 548.
Write down 2 as next digit of the result. 
Result so far: 47070.2
The remainder is 548 after subtracting 1342 from 1890.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5480, and continue the process.

Advancing to step 10:
The number 671 fits into 5480 8 times, leaving a remainder of 112.
The next digit of our result is 8. 
Result so far: 47070.28
If we take 5368 away from 5480, we end up with 112.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1120, and continue the process.

On to step 11:
When dividing 1120 by 671, we get 1 with a remainder of 449.
Put 1 as the next digit of the answer. 
Result so far: 47070.281
If we take 671 away from 1120, we end up with 449.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4490, and continue the process.

Advancing to step 12:
671 goes into 4490 6 times with a remainder of 464.
Use 6 as the next digit of our solution. 
Result so far: 47070.2816
Subtracting 4026 from 4490 leaves us with 464.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4640, and continue the process.

On to step 13:
4640 divided by 671 is 6 with a remainder of 614.
The next digit of our result is 6. 
Result so far: 47070.28166
Subtract 4026 from 4640 to get 614.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6140, and continue the process.

In conclusion, the division gives 47070.28166 with a balance of 0.000614.