We divide 5885997 by 978
We want to divide 5885997 by 978.

Advancing to step 1:
5 divided by 978 is 0 with a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Take the next digit (8) from the dividend and append it to 5, then repeat: 58 / 978

Step 2:
The number 978 fits into 58 0 times, leaving a remainder of 58.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 58 after subtracting 0 from 58.
Grab the next digit (8) from the dividend, add it to 58, then carry on: 588 / 978

Step 3:
588 divided by 978 is 0 with a remainder of 588.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 588, we get 588.
Bring next digit (5) of the dividend behind the 588 and repeat the process: 5885 / 978

Advancing to step 4:
If we divide 5885 by 978, we get 6 and a remainder of 17.
Record the quotient 6 as the next digit in the result. 
Result so far: 6.0
If we take 5868 away from 5885, we end up with 17.
Grab the next digit (9) from the dividend, add it to 17, then carry on: 179 / 978

Step 5:
179 divided by 978 is 0 with a remainder of 179.
The next digit of our result is 0. 
Result so far: 60.0
Subtracting 0 from 179 leaves us with 179.
Fetch the next digit (9) from the dividend, attach it to 179 and continue: 1799 / 978

Moving on to step 6:
When dividing 1799 by 978, we get 1 with a remainder of 821.
The number 1 becomes the next digit in our result. 
Result so far: 601.0
If we subtract 978 from 1799, we get 821.
Bring next digit (7) of the dividend behind the 821 and repeat the process: 8217 / 978

On to step 7:
8217 divided by 978 is 8 with a remainder of 393.
Write down 8 as next digit of the result. 
Result so far: 6018.0
If we subtract 7824 from 8217, we get 393.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3930, and continue the process.

Advancing to step 8:
The number 978 fits into 3930 4 times, leaving a remainder of 18.
The number 4 becomes the next digit in our result. 
Result so far: 6018.4
Deduct 3912 from 3930 and we're left 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.

Let's proceed to step 9:
When dividing 180 by 978, we get 0 with a remainder of 180.
Record the quotient 0 as the next digit in the result. 
Result so far: 6018.4
Deduct 0 from 180 and we're left with 180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1800, and continue the process.

Advancing to step 10:
If we divide 1800 by 978, we get 1 and a remainder of 822.
The number 1 becomes the next digit in our result. 
Result so far: 6018.401
Deduct 978 from 1800 and we're left with 822.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8220, and continue the process.

Step 11:
The number 978 fits into 8220 8 times, leaving a remainder of 396.
Put 8 as the next digit of the answer. 
Result so far: 6018.4018
If we take 7824 away from 8220, we end up with 396.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3960, and continue the process.

Moving on to step 12:
3960 divided by 978 is 4 with a remainder of 48.
Use 4 as the next digit of our solution. 
Result so far: 6018.40184
If we take 3912 away from 3960, we end up 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.

Advancing to step 13:
If we divide 480 by 978, we get 0 and a remainder of 480.
Write down 0 as next digit of the result. 
Result so far: 6018.40184
If we take 0 away from 480, we end up with 480.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4800, and continue the process.

Going ahead to step 14:
978 goes into 4800 4 times with a remainder of 888.
The next digit of our result is 4. 
Result so far: 6018.4018404
Deduct 3912 from 4800 and we're left with 888.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8880, and continue the process.

Step 15:
978 goes into 8880 9 times with a remainder of 78.
The next digit of our result is 9. 
Result so far: 6018.40184049
Subtracting 8802 from 8880 leaves us with 78.
Since there are no more digits in the dividend, we add a zero to the remainder making it 780, and continue the process.

The final outcome is 6018.40184049, with a leftover of 7.8e-08.