3181471 ÷ 674 
Let's see how many times 674 fits into 3181471.

Advancing to step 1:
When dividing 3 by 674, we get 0 with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Bring next digit (1) of the dividend behind the 3 and repeat the process: 31 / 674

Going ahead to step 2:
674 goes into 31 0 times with a remainder of 31.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 31 leaves us with 31.
Bring next digit (8) of the dividend behind the 31 and repeat the process: 318 / 674

Let's proceed to step 3:
318 divided by 674 is 0 with a remainder of 318.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 318 and we're left with 318.
Bring next digit (1) of the dividend behind the 318 and repeat the process: 3181 / 674

Step 4:
3181 divided by 674 is 4 with a remainder of 485.
Record the quotient 4 as the next digit in the result. 
Result so far: 4.0
Subtracting 2696 from 3181 leaves us with 485.
Bring next digit (4) of the dividend behind the 485 and repeat the process: 4854 / 674

Let's proceed to step 5:
If we divide 4854 by 674, we get 7 and a remainder of 136.
Record the quotient 7 as the next digit in the result. 
Result so far: 47.0
If we subtract 4718 from 4854, we get 136.
Fetch the next digit (7) from the dividend, attach it to 136 and continue: 1367 / 674

Let's proceed to step 6:
When dividing 1367 by 674, we get 2 with a remainder of 19.
The number 2 becomes the next digit in our result. 
Result so far: 472.0
Deduct 1348 from 1367 and we're left with 19.
Take the next digit (1) from the dividend and append it to 19, then repeat: 191 / 674

On to step 7:
191 divided by 674 is 0 with a remainder of 191.
Put 0 as the next digit of the answer. 
Result so far: 4720.0
If we subtract 0 from 191, we get 191.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1910, and continue the process.

Going ahead to step 8:
674 goes into 1910 2 times with a remainder of 562.
Use 2 as the next digit of our solution. 
Result so far: 4720.2
Subtracting 1348 from 1910 leaves us with 562.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5620, and continue the process.

Advancing to step 9:
When dividing 5620 by 674, we get 8 with a remainder of 228.
The number 8 becomes the next digit in our result. 
Result so far: 4720.28
Subtract 5392 from 5620 to get 228.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2280, and continue the process.

On to step 10:
674 goes into 2280 3 times with a remainder of 258.
Record the quotient 3 as the next digit in the result. 
Result so far: 4720.283
Subtract 2022 from 2280 to get 258.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2580, and continue the process.

On to step 11:
If we divide 2580 by 674, we get 3 and a remainder of 558.
Put 3 as the next digit of the answer. 
Result so far: 4720.2833
If we subtract 2022 from 2580, we get 558.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5580, and continue the process.

Our division results in 4720.2833 with a remaining 0.00558.