We're dividing 5580845 by 838 
Our goal is to divide 5580845 by 838.

On to step 1:
5 divided by 838 is 0 with a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Grab the next digit (5) from the dividend, add it to 5, then carry on: 55 / 838

Moving on to step 2:
When dividing 55 by 838, we get 0 with a remainder of 55.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 55 to get 55.
Take the next digit (8) from the dividend and append it to 55, then repeat: 558 / 838

Advancing to step 3:
The number 838 fits into 558 0 times, leaving a remainder of 558.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 558 to get 558.
Include the next digit (0) from the dividend after 558, then repeat: 5580 / 838

Moving on to step 4:
When dividing 5580 by 838, we get 6 with a remainder of 552.
Use 6 as the next digit of our solution. 
Result so far: 6.0
Deduct 5028 from 5580 and we're left with 552.
Take the next digit (8) from the dividend and append it to 552, then repeat: 5528 / 838

Advancing to step 5:
838 can be fit into 5528 6 times, resulting in a remainder of 500.
Put 6 as the next digit of the answer. 
Result so far: 66.0
Subtract 5028 from 5528 to get 500.
Fetch the next digit (4) from the dividend, attach it to 500 and continue: 5004 / 838

Step 6:
838 can be fit into 5004 5 times, resulting in a remainder of 814.
Use 5 as the next digit of our solution. 
Result so far: 665.0
Subtracting 4190 from 5004 leaves us with 814.
Grab the next digit (5) from the dividend, add it to 814, then carry on: 8145 / 838

Going ahead to step 7:
When dividing 8145 by 838, we get 9 with a remainder of 603.
Use 9 as the next digit of our solution. 
Result so far: 6659.0
Deduct 7542 from 8145 and we're left with 603.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6030, and continue the process.

Going ahead to step 8:
When dividing 6030 by 838, we get 7 with a remainder of 164.
Use 7 as the next digit of our solution. 
Result so far: 6659.7
If we subtract 5866 from 6030, we get 164.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1640, and continue the process.

Let's proceed to step 9:
1640 divided by 838 is 1 with a remainder of 802.
Use 1 as the next digit of our solution. 
Result so far: 6659.71
Subtract 838 from 1640 to get 802.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8020, and continue the process.

Moving on to step 10:
838 can be fit into 8020 9 times, resulting in a remainder of 478.
The next digit of our result is 9. 
Result so far: 6659.719
If we subtract 7542 from 8020, we get 478.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4780, and continue the process.

Step 11:
838 goes into 4780 5 times with a remainder of 590.
Put 5 as the next digit of the answer. 
Result so far: 6659.7195
Subtract 4190 from 4780 to get 590.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5900, and continue the process.

Step 12:
5900 divided by 838 is 7 with a remainder of 34.
Use 7 as the next digit of our solution. 
Result so far: 6659.71957
The remainder is 34 after subtracting 5866 from 5900.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Moving on to step 13:
When dividing 340 by 838, we get 0 with a remainder of 340.
The next digit of our result is 0. 
Result so far: 6659.71957
If we subtract 0 from 340, we get 340.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3400, and continue the process.

Moving on to step 14:
When dividing 3400 by 838, we get 4 with a remainder of 48.
The next digit of our result is 4. 
Result so far: 6659.7195704
Subtracting 3352 from 3400 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.

Let's proceed to step 15:
838 can be fit into 480 0 times, resulting in a remainder of 480.
The next digit of our result is 0. 
Result so far: 6659.7195704
The remainder is 480 after subtracting 0 from 480.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4800, and continue the process.

The final outcome is 6659.7195704, with a leftover of 4.8e-07.