5674858 divided by 394 
Let's see how many times 394 fits into 5674858.

Going ahead to step 1:
394 can be fit into 5 0 times, resulting in a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Append the next digit (6) from the dividend to 5 and continue with: 56 / 394

On to step 2:
394 can be fit into 56 0 times, resulting in a remainder of 56.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 56, we end up with 56.
Grab the next digit (7) from the dividend, add it to 56, then carry on: 567 / 394

On to step 3:
567 divided by 394 is 1 with a remainder of 173.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
The remainder is 173 after subtracting 394 from 567.
Take the next digit (4) from the dividend and append it to 173, then repeat: 1734 / 394

Step 4:
394 goes into 1734 4 times with a remainder of 158.
The number 4 becomes the next digit in our result. 
Result so far: 14.0
If we take 1576 away from 1734, we end up with 158.
Grab the next digit (8) from the dividend, add it to 158, then carry on: 1588 / 394

On to step 5:
394 goes into 1588 4 times with a remainder of 12.
Put 4 as the next digit of the answer. 
Result so far: 144.0
If we take 1576 away from 1588, we end up with 12.
Bring next digit (5) of the dividend behind the 12 and repeat the process: 125 / 394

Let's proceed to step 6:
125 divided by 394 is 0 with a remainder of 125.
The number 0 becomes the next digit in our result. 
Result so far: 1440.0
If we take 0 away from 125, we end up with 125.
Bring next digit (8) of the dividend behind the 125 and repeat the process: 1258 / 394

Going ahead to step 7:
If we divide 1258 by 394, we get 3 and a remainder of 76.
Put 3 as the next digit of the answer. 
Result so far: 14403.0
Subtract 1182 from 1258 to get 76.
Since there are no more digits in the dividend, we add a zero to the remainder making it 760, and continue the process.

On to step 8:
When dividing 760 by 394, we get 1 with a remainder of 366.
The number 1 becomes the next digit in our result. 
Result so far: 14403.1
Subtracting 394 from 760 leaves us with 366.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3660, and continue the process.

Step 9:
394 goes into 3660 9 times with a remainder of 114.
Record the quotient 9 as the next digit in the result. 
Result so far: 14403.19
Subtracting 3546 from 3660 leaves us with 114.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1140, and continue the process.

On to step 10:
394 can be fit into 1140 2 times, resulting in a remainder of 352.
Put 2 as the next digit of the answer. 
Result so far: 14403.192
Subtract 788 from 1140 to get 352.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3520, and continue the process.

Moving on to step 11:
394 goes into 3520 8 times with a remainder of 368.
Write down 8 as next digit of the result. 
Result so far: 14403.1928
If we take 3152 away from 3520, we end up with 368.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3680, and continue the process.

Step 12:
394 goes into 3680 9 times with a remainder of 134.
The next digit of our result is 9. 
Result so far: 14403.19289
If we take 3546 away from 3680, we end up with 134.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1340, and continue the process.

On to step 13:
1340 divided by 394 is 3 with a remainder of 158.
Write down 3 as next digit of the result. 
Result so far: 14403.192893
The remainder is 158 after subtracting 1182 from 1340.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1580, and continue the process.

Moving on to step 14:
394 can be fit into 1580 4 times, resulting in a remainder of 4.
Write down 4 as next digit of the result. 
Result so far: 14403.1928934
If we take 1576 away from 1580, we end up with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

On to step 15:
394 can be fit into 40 0 times, resulting in a remainder of 40.
Write down 0 as next digit of the result. 
Result so far: 14403.1928934
Deduct 0 from 40 and we're left with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

The quotient of the division is 14403.1928934, and the remainder is 4e-08.