We're dividing 978540 by 42 
We want to divide 978540 by 42.

Advancing to step 1:
The number 42 fits into 9 0 times, leaving a remainder of 9.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 9, we end up with 9.
Fetch the next digit (7) from the dividend, attach it to 9 and continue: 97 / 42

Advancing to step 2:
The number 42 fits into 97 2 times, leaving a remainder of 13.
Put 2 as the next digit of the answer. 
Result so far: 2.0
Deduct 84 from 97 and we're left with 13.
Include the next digit (8) from the dividend after 13, then repeat: 138 / 42

Step 3:
If we divide 138 by 42, we get 3 and a remainder of 12.
The number 3 becomes the next digit in our result. 
Result so far: 23.0
If we take 126 away from 138, we end up with 12.
Append the next digit (5) from the dividend to 12 and continue with: 125 / 42

Moving on to step 4:
When dividing 125 by 42, we get 2 with a remainder of 41.
The next digit of our result is 2. 
Result so far: 232.0
Subtract 84 from 125 to get 41.
Include the next digit (4) from the dividend after 41, then repeat: 414 / 42

On to step 5:
42 can be fit into 414 9 times, resulting in a remainder of 36.
Write down 9 as next digit of the result. 
Result so far: 2329.0
The remainder is 36 after subtracting 378 from 414.
Fetch the next digit (0) from the dividend, attach it to 36 and continue: 360 / 42

Going ahead to step 6:
42 can be fit into 360 8 times, resulting in a remainder of 24.
The next digit of our result is 8. 
Result so far: 23298.0
Deduct 336 from 360 and we're left with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Let's proceed to step 7:
When dividing 240 by 42, we get 5 with a remainder of 30.
The number 5 becomes the next digit in our result. 
Result so far: 23298.5
If we subtract 210 from 240, we get 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:
The number 42 fits into 300 7 times, leaving a remainder of 6.
Use 7 as the next digit of our solution. 
Result so far: 23298.57
If we take 294 away from 300, we end up with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Moving on to step 9:
The number 42 fits into 60 1 times, leaving a remainder of 18.
Use 1 as the next digit of our solution. 
Result so far: 23298.571
If we take 42 away from 60, we end up with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Step 10:
42 can be fit into 180 4 times, resulting in a remainder of 12.
Use 4 as the next digit of our solution. 
Result so far: 23298.5714
The remainder is 12 after subtracting 168 from 180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Moving on to step 11:
120 divided by 42 is 2 with a remainder of 36.
Write down 2 as next digit of the result. 
Result so far: 23298.57142
The remainder is 36 after subtracting 84 from 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

On to step 12:
If we divide 360 by 42, we get 8 and a remainder of 24.
The number 8 becomes the next digit in our result. 
Result so far: 23298.571428
The remainder is 24 after subtracting 336 from 360.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Step 13:
240 divided by 42 is 5 with a remainder of 30.
Write down 5 as next digit of the result. 
Result so far: 23298.5714285
The remainder is 30 after subtracting 210 from 240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

On to step 14:
The number 42 fits into 300 7 times, leaving a remainder of 6.
The next digit of our result is 7. 
Result so far: 23298.57142857
Deduct 294 from 300 and we're left with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

In conclusion, the division gives 23298.57142857 with a balance of 6e-09.