Let's divide 5174214 by 670
We're looking to find how many times 670 goes into 5174214.

Let's proceed to step 1:
When dividing 5 by 670, we get 0 with a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Grab the next digit (1) from the dividend, add it to 5, then carry on: 51 / 670

Step 2:
670 goes into 51 0 times with a remainder of 51.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 51 and we're left with 51.
Grab the next digit (7) from the dividend, add it to 51, then carry on: 517 / 670

Let's proceed to step 3:
When dividing 517 by 670, we get 0 with a remainder of 517.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 517 leaves us with 517.
Bring next digit (4) of the dividend behind the 517 and repeat the process: 5174 / 670

Moving on to step 4:
670 can be fit into 5174 7 times, resulting in a remainder of 484.
The next digit of our result is 7. 
Result so far: 7.0
The remainder is 484 after subtracting 4690 from 5174.
Take the next digit (2) from the dividend and append it to 484, then repeat: 4842 / 670

Step 5:
4842 divided by 670 is 7 with a remainder of 152.
Record the quotient 7 as the next digit in the result. 
Result so far: 77.0
Deduct 4690 from 4842 and we're left with 152.
Bring next digit (1) of the dividend behind the 152 and repeat the process: 1521 / 670

Step 6:
670 can be fit into 1521 2 times, resulting in a remainder of 181.
The next digit of our result is 2. 
Result so far: 772.0
Subtract 1340 from 1521 to get 181.
Fetch the next digit (4) from the dividend, attach it to 181 and continue: 1814 / 670

Going ahead to step 7:
When dividing 1814 by 670, we get 2 with a remainder of 474.
The next digit of our result is 2. 
Result so far: 7722.0
Deduct 1340 from 1814 and we're left with 474.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4740, and continue the process.

Moving on to step 8:
If we divide 4740 by 670, we get 7 and a remainder of 50.
The next digit of our result is 7. 
Result so far: 7722.7
Subtract 4690 from 4740 to get 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

Let's proceed to step 9:
If we divide 500 by 670, we get 0 and a remainder of 500.
Use 0 as the next digit of our solution. 
Result so far: 7722.7
If we take 0 away from 500, we end up with 500.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5000, and continue the process.

Going ahead to step 10:
The number 670 fits into 5000 7 times, leaving a remainder of 310.
The number 7 becomes the next digit in our result. 
Result so far: 7722.707
The remainder is 310 after subtracting 4690 from 5000.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3100, and continue the process.

Advancing to step 11:
The number 670 fits into 3100 4 times, leaving a remainder of 420.
Write down 4 as next digit of the result. 
Result so far: 7722.7074
The remainder is 420 after subtracting 2680 from 3100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4200, and continue the process.

Going ahead to step 12:
670 can be fit into 4200 6 times, resulting in a remainder of 180.
Record the quotient 6 as the next digit in the result. 
Result so far: 7722.70746
If we take 4020 away from 4200, we end up with 180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1800, and continue the process.

Going ahead to step 13:
670 goes into 1800 2 times with a remainder of 460.
Put 2 as the next digit of the answer. 
Result so far: 7722.707462
Subtracting 1340 from 1800 leaves us with 460.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4600, and continue the process.

Going ahead to step 14:
670 goes into 4600 6 times with a remainder of 580.
The next digit of our result is 6. 
Result so far: 7722.7074626
If we subtract 4020 from 4600, we get 580.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5800, and continue the process.

Let's proceed to step 15:
When dividing 5800 by 670, we get 8 with a remainder of 440.
Write down 8 as next digit of the result. 
Result so far: 7722.70746268
If we take 5360 away from 5800, we end up with 440.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4400, and continue the process.

The quotient of the division is 7722.70746268, and the remainder is 4.4e-07.