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

Let's proceed to step 1:
978 can be fit into 5 0 times, resulting in a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Include the next digit (4) from the dividend after 5, then repeat: 54 / 978

Let's proceed to step 2:
978 can be fit into 54 0 times, resulting in a remainder of 54.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 54, we end up with 54.
Append the next digit (0) from the dividend to 54 and continue with: 540 / 978

On to step 3:
If we divide 540 by 978, we get 0 and a remainder of 540.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 540 and we're left with 540.
Fetch the next digit (0) from the dividend, attach it to 540 and continue: 5400 / 978

Advancing to step 4:
978 can be fit into 5400 5 times, resulting in a remainder of 510.
Put 5 as the next digit of the answer. 
Result so far: 5.0
Subtracting 4890 from 5400 leaves us with 510.
Include the next digit (8) from the dividend after 510, then repeat: 5108 / 978

On to step 5:
When dividing 5108 by 978, we get 5 with a remainder of 218.
The next digit of our result is 5. 
Result so far: 55.0
Subtracting 4890 from 5108 leaves us with 218.
Fetch the next digit (7) from the dividend, attach it to 218 and continue: 2187 / 978

Advancing to step 6:
978 can be fit into 2187 2 times, resulting in a remainder of 231.
Write down 2 as next digit of the result. 
Result so far: 552.0
Subtract 1956 from 2187 to get 231.
Fetch the next digit (0) from the dividend, attach it to 231 and continue: 2310 / 978

Moving on to step 7:
When dividing 2310 by 978, we get 2 with a remainder of 354.
The next digit of our result is 2. 
Result so far: 5522.0
The remainder is 354 after subtracting 1956 from 2310.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3540, and continue the process.

Moving on to step 8:
The number 978 fits into 3540 3 times, leaving a remainder of 606.
Put 3 as the next digit of the answer. 
Result so far: 5522.3
Subtract 2934 from 3540 to get 606.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6060, and continue the process.

Moving on to step 9:
6060 divided by 978 is 6 with a remainder of 192.
The number 6 becomes the next digit in our result. 
Result so far: 5522.36
Subtract 5868 from 6060 to get 192.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1920, and continue the process.

Let's proceed to step 10:
978 can be fit into 1920 1 times, resulting in a remainder of 942.
Put 1 as the next digit of the answer. 
Result so far: 5522.361
Subtracting 978 from 1920 leaves us with 942.
Since there are no more digits in the dividend, we add a zero to the remainder making it 9420, and continue the process.

On to step 11:
978 goes into 9420 9 times with a remainder of 618.
Use 9 as the next digit of our solution. 
Result so far: 5522.3619
Subtract 8802 from 9420 to get 618.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6180, and continue the process.

On to step 12:
978 goes into 6180 6 times with a remainder of 312.
The number 6 becomes the next digit in our result. 
Result so far: 5522.36196
Deduct 5868 from 6180 and we're left with 312.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3120, and continue the process.

Let's proceed to step 13:
If we divide 3120 by 978, we get 3 and a remainder of 186.
The next digit of our result is 3. 
Result so far: 5522.361963
Deduct 2934 from 3120 and we're left with 186.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1860, and continue the process.

Going ahead to step 14:
978 goes into 1860 1 times with a remainder of 882.
Record the quotient 1 as the next digit in the result. 
Result so far: 5522.3619631
The remainder is 882 after subtracting 978 from 1860.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8820, and continue the process.

Advancing to step 15:
8820 divided by 978 is 9 with a remainder of 18.
Record the quotient 9 as the next digit in the result. 
Result so far: 5522.36196319
If we take 8802 away from 8820, 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.

The final outcome is 5522.36196319, with a leftover of 1.8e-08.