We're dividing 297417 by 78 
Let's see how many times 78 fits into 297417.

Advancing to step 1:
2 divided by 78 is 0 with a remainder of 2.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 2 to get 2.
Bring next digit (9) of the dividend behind the 2 and repeat the process: 29 / 78

Going ahead to step 2:
If we divide 29 by 78, we get 0 and a remainder of 29.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 29 after subtracting 0 from 29.
Fetch the next digit (7) from the dividend, attach it to 29 and continue: 297 / 78

Advancing to step 3:
78 goes into 297 3 times with a remainder of 63.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
If we take 234 away from 297, we end up with 63.
Append the next digit (4) from the dividend to 63 and continue with: 634 / 78

Advancing to step 4:
If we divide 634 by 78, we get 8 and a remainder of 10.
Put 8 as the next digit of the answer. 
Result so far: 38.0
Deduct 624 from 634 and we're left with 10.
Fetch the next digit (1) from the dividend, attach it to 10 and continue: 101 / 78

On to step 5:
101 divided by 78 is 1 with a remainder of 23.
Put 1 as the next digit of the answer. 
Result so far: 381.0
If we take 78 away from 101, we end up with 23.
Take the next digit (7) from the dividend and append it to 23, then repeat: 237 / 78

Step 6:
If we divide 237 by 78, we get 3 and a remainder of 3.
Record the quotient 3 as the next digit in the result. 
Result so far: 3813.0
Subtracting 234 from 237 leaves us with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Let's proceed to step 7:
78 can be fit into 30 0 times, resulting in a remainder of 30.
Write down 0 as next digit of the result. 
Result so far: 3813.0
Deduct 0 from 30 and we're left with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Let's proceed to step 8:
When dividing 300 by 78, we get 3 with a remainder of 66.
Write down 3 as next digit of the result. 
Result so far: 3813.03
Subtract 234 from 300 to get 66.
Since there are no more digits in the dividend, we add a zero to the remainder making it 660, and continue the process.

Let's proceed to step 9:
If we divide 660 by 78, we get 8 and a remainder of 36.
The number 8 becomes the next digit in our result. 
Result so far: 3813.038
Subtract 624 from 660 to get 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Going ahead to step 10:
78 can be fit into 360 4 times, resulting in a remainder of 48.
Put 4 as the next digit of the answer. 
Result so far: 3813.0384
Subtracting 312 from 360 leaves us with 48.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

Moving on to step 11:
If we divide 480 by 78, we get 6 and a remainder of 12.
Record the quotient 6 as the next digit in the result. 
Result so far: 3813.03846
Deduct 468 from 480 and we're left with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Step 12:
If we divide 120 by 78, we get 1 and a remainder of 42.
The number 1 becomes the next digit in our result. 
Result so far: 3813.038461
If we take 78 away from 120, we end up with 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

Let's proceed to step 13:
The number 78 fits into 420 5 times, leaving a remainder of 30.
The next digit of our result is 5. 
Result so far: 3813.0384615
The remainder is 30 after subtracting 390 from 420.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Step 14:
The number 78 fits into 300 3 times, leaving a remainder of 66.
Record the quotient 3 as the next digit in the result. 
Result so far: 3813.03846153
Deduct 234 from 300 and we're left with 66.
Since there are no more digits in the dividend, we add a zero to the remainder making it 660, and continue the process.

After the division, we end up with 3813.03846153 and a remainder of 6.6e-08.