Let's divide 5939788 by 597
Let's see how many times 597 fits into 5939788.

On to step 1:
5 divided by 597 is 0 with a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Append the next digit (9) from the dividend to 5 and continue with: 59 / 597

Going ahead to step 2:
59 divided by 597 is 0 with a remainder of 59.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 59 to get 59.
Bring next digit (3) of the dividend behind the 59 and repeat the process: 593 / 597

Let's proceed to step 3:
597 goes into 593 0 times with a remainder of 593.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 593 leaves us with 593.
Fetch the next digit (9) from the dividend, attach it to 593 and continue: 5939 / 597

Moving on to step 4:
597 goes into 5939 9 times with a remainder of 566.
The number 9 becomes the next digit in our result. 
Result so far: 9.0
Deduct 5373 from 5939 and we're left with 566.
Bring next digit (7) of the dividend behind the 566 and repeat the process: 5667 / 597

On to step 5:
597 can be fit into 5667 9 times, resulting in a remainder of 294.
Record the quotient 9 as the next digit in the result. 
Result so far: 99.0
If we take 5373 away from 5667, we end up with 294.
Bring next digit (8) of the dividend behind the 294 and repeat the process: 2948 / 597

Going ahead to step 6:
597 can be fit into 2948 4 times, resulting in a remainder of 560.
Use 4 as the next digit of our solution. 
Result so far: 994.0
The remainder is 560 after subtracting 2388 from 2948.
Grab the next digit (8) from the dividend, add it to 560, then carry on: 5608 / 597

Step 7:
If we divide 5608 by 597, we get 9 and a remainder of 235.
Use 9 as the next digit of our solution. 
Result so far: 9949.0
Subtracting 5373 from 5608 leaves us with 235.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2350, and continue the process.

On to step 8:
The number 597 fits into 2350 3 times, leaving a remainder of 559.
Record the quotient 3 as the next digit in the result. 
Result so far: 9949.3
If we subtract 1791 from 2350, we get 559.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5590, and continue the process.

On to step 9:
597 goes into 5590 9 times with a remainder of 217.
Use 9 as the next digit of our solution. 
Result so far: 9949.39
If we subtract 5373 from 5590, we get 217.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2170, and continue the process.

Moving on to step 10:
When dividing 2170 by 597, we get 3 with a remainder of 379.
Use 3 as the next digit of our solution. 
Result so far: 9949.393
Deduct 1791 from 2170 and we're left with 379.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3790, and continue the process.

On to step 11:
597 goes into 3790 6 times with a remainder of 208.
Use 6 as the next digit of our solution. 
Result so far: 9949.3936
Subtract 3582 from 3790 to get 208.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2080, and continue the process.

Moving on to step 12:
When dividing 2080 by 597, we get 3 with a remainder of 289.
Put 3 as the next digit of the answer. 
Result so far: 9949.39363
If we take 1791 away from 2080, we end up with 289.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2890, and continue the process.

Going ahead to step 13:
The number 597 fits into 2890 4 times, leaving a remainder of 502.
Put 4 as the next digit of the answer. 
Result so far: 9949.393634
Deduct 2388 from 2890 and we're left with 502.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5020, and continue the process.

On to step 14:
If we divide 5020 by 597, we get 8 and a remainder of 244.
Put 8 as the next digit of the answer. 
Result so far: 9949.3936348
If we take 4776 away from 5020, we end up with 244.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2440, and continue the process.

On to step 15:
597 goes into 2440 4 times with a remainder of 52.
The number 4 becomes the next digit in our result. 
Result so far: 9949.39363484
Subtracting 2388 from 2440 leaves us with 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

Our division results in 9949.39363484 with a remaining 5.2e-08.