We look at the division of 340249 by 78 
Our goal is to divide 340249 by 78.

Moving on to step 1:
78 can be fit into 3 0 times, resulting in a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Bring next digit (4) of the dividend behind the 3 and repeat the process: 34 / 78

Going ahead to step 2:
34 divided by 78 is 0 with a remainder of 34.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 34, we end up with 34.
Include the next digit (0) from the dividend after 34, then repeat: 340 / 78

Advancing to step 3:
78 can be fit into 340 4 times, resulting in a remainder of 28.
Use 4 as the next digit of our solution. 
Result so far: 4.0
Subtract 312 from 340 to get 28.
Fetch the next digit (2) from the dividend, attach it to 28 and continue: 282 / 78

Moving on to step 4:
282 divided by 78 is 3 with a remainder of 48.
Record the quotient 3 as the next digit in the result. 
Result so far: 43.0
The remainder is 48 after subtracting 234 from 282.
Include the next digit (4) from the dividend after 48, then repeat: 484 / 78

On to step 5:
78 goes into 484 6 times with a remainder of 16.
Write down 6 as next digit of the result. 
Result so far: 436.0
Deduct 468 from 484 and we're left with 16.
Include the next digit (9) from the dividend after 16, then repeat: 169 / 78

On to step 6:
169 divided by 78 is 2 with a remainder of 13.
Write down 2 as next digit of the result. 
Result so far: 4362.0
If we take 156 away from 169, we end up with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Going ahead to step 7:
The number 78 fits into 130 1 times, leaving a remainder of 52.
Use 1 as the next digit of our solution. 
Result so far: 4362.1
Subtract 78 from 130 to get 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

Step 8:
If we divide 520 by 78, we get 6 and a remainder of 52.
Write down 6 as next digit of the result. 
Result so far: 4362.16
Subtracting 468 from 520 leaves us with 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

Going ahead to step 9:
The number 78 fits into 520 6 times, leaving a remainder of 52.
Put 6 as the next digit of the answer. 
Result so far: 4362.166
Subtract 468 from 520 to get 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

After the division, we end up with 4362.166 and a remainder of 0.0052.