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

Advancing to step 1:
394 goes into 6 0 times with a remainder of 6.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 6 leaves us with 6.
Grab the next digit (6) from the dividend, add it to 6, then carry on: 66 / 394

Going ahead to step 2:
If we divide 66 by 394, we get 0 and a remainder of 66.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 66 and we're left with 66.
Include the next digit (7) from the dividend after 66, then repeat: 667 / 394

On to step 3:
394 goes into 667 1 times with a remainder of 273.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Subtracting 394 from 667 leaves us with 273.
Bring next digit (1) of the dividend behind the 273 and repeat the process: 2731 / 394

Step 4:
394 goes into 2731 6 times with a remainder of 367.
Write down 6 as next digit of the result. 
Result so far: 16.0
Deduct 2364 from 2731 and we're left with 367.
Append the next digit (7) from the dividend to 367 and continue with: 3677 / 394

Step 5:
The number 394 fits into 3677 9 times, leaving a remainder of 131.
Write down 9 as next digit of the result. 
Result so far: 169.0
The remainder is 131 after subtracting 3546 from 3677.
Bring next digit (8) of the dividend behind the 131 and repeat the process: 1318 / 394

Going ahead to step 6:
394 goes into 1318 3 times with a remainder of 136.
Put 3 as the next digit of the answer. 
Result so far: 1693.0
Subtracting 1182 from 1318 leaves us with 136.
Fetch the next digit (6) from the dividend, attach it to 136 and continue: 1366 / 394

Let's proceed to step 7:
394 can be fit into 1366 3 times, resulting in a remainder of 184.
Use 3 as the next digit of our solution. 
Result so far: 16933.0
If we take 1182 away from 1366, we end up with 184.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1840, and continue the process.

Moving on to step 8:
394 can be fit into 1840 4 times, resulting in a remainder of 264.
The number 4 becomes the next digit in our result. 
Result so far: 16933.4
Deduct 1576 from 1840 and we're left with 264.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2640, and continue the process.

On to step 9:
The number 394 fits into 2640 6 times, leaving a remainder of 276.
Use 6 as the next digit of our solution. 
Result so far: 16933.46
The remainder is 276 after subtracting 2364 from 2640.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2760, and continue the process.

Let's proceed to step 10:
If we divide 2760 by 394, we get 7 and a remainder of 2.
The next digit of our result is 7. 
Result so far: 16933.467
If we take 2758 away from 2760, 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.

On to step 11:
If we divide 20 by 394, we get 0 and a remainder of 20.
The next digit of our result is 0. 
Result so far: 16933.467
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.

Going ahead to step 12:
394 goes into 200 0 times with a remainder of 200.
Put 0 as the next digit of the answer. 
Result so far: 16933.467
If we take 0 away from 200, we end up with 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2000, and continue the process.

The quotient of the division is 16933.467, and the remainder is 0.0002.