We're dividing 5797628 by 594 
Our goal is to divide 5797628 by 594.

Moving on to step 1:
When dividing 5 by 594, we get 0 with a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Bring next digit (7) of the dividend behind the 5 and repeat the process: 57 / 594

Let's proceed to step 2:
594 goes into 57 0 times with a remainder of 57.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 57, we get 57.
Include the next digit (9) from the dividend after 57, then repeat: 579 / 594

On to step 3:
When dividing 579 by 594, we get 0 with a remainder of 579.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 579 leaves us with 579.
Grab the next digit (7) from the dividend, add it to 579, then carry on: 5797 / 594

Step 4:
5797 divided by 594 is 9 with a remainder of 451.
The next digit of our result is 9. 
Result so far: 9.0
If we take 5346 away from 5797, we end up with 451.
Take the next digit (6) from the dividend and append it to 451, then repeat: 4516 / 594

Moving on to step 5:
When dividing 4516 by 594, we get 7 with a remainder of 358.
Use 7 as the next digit of our solution. 
Result so far: 97.0
If we subtract 4158 from 4516, we get 358.
Append the next digit (2) from the dividend to 358 and continue with: 3582 / 594

Step 6:
When dividing 3582 by 594, we get 6 with a remainder of 18.
Put 6 as the next digit of the answer. 
Result so far: 976.0
If we subtract 3564 from 3582, we get 18.
Take the next digit (8) from the dividend and append it to 18, then repeat: 188 / 594

Going ahead to step 7:
594 goes into 188 0 times with a remainder of 188.
The next digit of our result is 0. 
Result so far: 9760.0
Deduct 0 from 188 and we're left with 188.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1880, and continue the process.

Let's proceed to step 8:
The number 594 fits into 1880 3 times, leaving a remainder of 98.
Write down 3 as next digit of the result. 
Result so far: 9760.3
The remainder is 98 after subtracting 1782 from 1880.
Since there are no more digits in the dividend, we add a zero to the remainder making it 980, and continue the process.

Going ahead to step 9:
594 can be fit into 980 1 times, resulting in a remainder of 386.
Use 1 as the next digit of our solution. 
Result so far: 9760.31
The remainder is 386 after subtracting 594 from 980.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3860, and continue the process.

On to step 10:
The number 594 fits into 3860 6 times, leaving a remainder of 296.
Record the quotient 6 as the next digit in the result. 
Result so far: 9760.316
If we take 3564 away from 3860, we end up with 296.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2960, and continue the process.

Going ahead to step 11:
594 goes into 2960 4 times with a remainder of 584.
Write down 4 as next digit of the result. 
Result so far: 9760.3164
Subtracting 2376 from 2960 leaves us with 584.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5840, and continue the process.

Going ahead to step 12:
The number 594 fits into 5840 9 times, leaving a remainder of 494.
Use 9 as the next digit of our solution. 
Result so far: 9760.31649
Subtract 5346 from 5840 to get 494.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4940, and continue the process.

Step 13:
The number 594 fits into 4940 8 times, leaving a remainder of 188.
Use 8 as the next digit of our solution. 
Result so far: 9760.316498
If we take 4752 away from 4940, we end up with 188.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1880, and continue the process.

Moving on to step 14:
1880 divided by 594 is 3 with a remainder of 98.
Record the quotient 3 as the next digit in the result. 
Result so far: 9760.3164983
Deduct 1782 from 1880 and we're left with 98.
Since there are no more digits in the dividend, we add a zero to the remainder making it 980, and continue the process.

Moving on to step 15:
980 divided by 594 is 1 with a remainder of 386.
Write down 1 as next digit of the result. 
Result so far: 9760.31649831
Subtracting 594 from 980 leaves us with 386.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3860, and continue the process.

Our division results in 9760.31649831 with a remaining 3.86e-07.