We look at the division of 5023394 by 597 
We want to figure out the number of times 5023394 can be divided by 597.

Advancing 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 take 0 away from 5, we end up with 5.
Take the next digit (0) from the dividend and append it to 5, then repeat: 50 / 597

Advancing to step 2:
597 goes into 50 0 times with a remainder of 50.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 50 after subtracting 0 from 50.
Include the next digit (2) from the dividend after 50, then repeat: 502 / 597

Let's proceed to step 3:
The number 597 fits into 502 0 times, leaving a remainder of 502.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 502 to get 502.
Grab the next digit (3) from the dividend, add it to 502, then carry on: 5023 / 597

On to step 4:
5023 divided by 597 is 8 with a remainder of 247.
Put 8 as the next digit of the answer. 
Result so far: 8.0
If we take 4776 away from 5023, we end up with 247.
Fetch the next digit (3) from the dividend, attach it to 247 and continue: 2473 / 597

Going ahead to step 5:
If we divide 2473 by 597, we get 4 and a remainder of 85.
The number 4 becomes the next digit in our result. 
Result so far: 84.0
The remainder is 85 after subtracting 2388 from 2473.
Take the next digit (9) from the dividend and append it to 85, then repeat: 859 / 597

Advancing to step 6:
597 goes into 859 1 times with a remainder of 262.
The number 1 becomes the next digit in our result. 
Result so far: 841.0
Deduct 597 from 859 and we're left with 262.
Include the next digit (4) from the dividend after 262, then repeat: 2624 / 597

Going ahead to step 7:
597 goes into 2624 4 times with a remainder of 236.
The number 4 becomes the next digit in our result. 
Result so far: 8414.0
If we subtract 2388 from 2624, we get 236.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2360, and continue the process.

Let's proceed to step 8:
If we divide 2360 by 597, we get 3 and a remainder of 569.
The number 3 becomes the next digit in our result. 
Result so far: 8414.3
Subtracting 1791 from 2360 leaves us with 569.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5690, and continue the process.

Advancing to step 9:
5690 divided by 597 is 9 with a remainder of 317.
Put 9 as the next digit of the answer. 
Result so far: 8414.39
Subtract 5373 from 5690 to get 317.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3170, and continue the process.

Step 10:
If we divide 3170 by 597, we get 5 and a remainder of 185.
Put 5 as the next digit of the answer. 
Result so far: 8414.395
If we take 2985 away from 3170, we end up with 185.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1850, and continue the process.

On to step 11:
The number 597 fits into 1850 3 times, leaving a remainder of 59.
The next digit of our result is 3. 
Result so far: 8414.3953
Subtract 1791 from 1850 to get 59.
Since there are no more digits in the dividend, we add a zero to the remainder making it 590, and continue the process.

Step 12:
590 divided by 597 is 0 with a remainder of 590.
The number 0 becomes the next digit in our result. 
Result so far: 8414.3953
Deduct 0 from 590 and we're left with 590.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5900, and continue the process.

Going ahead to step 13:
597 goes into 5900 9 times with a remainder of 527.
The next digit of our result is 9. 
Result so far: 8414.395309
Subtract 5373 from 5900 to get 527.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5270, and continue the process.

Going ahead to step 14:
597 goes into 5270 8 times with a remainder of 494.
Put 8 as the next digit of the answer. 
Result so far: 8414.3953098
Subtract 4776 from 5270 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.

Moving on to step 15:
4940 divided by 597 is 8 with a remainder of 164.
Put 8 as the next digit of the answer. 
Result so far: 8414.39530988
If we take 4776 away from 4940, we end up with 164.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1640, and continue the process.

In conclusion, the division gives 8414.39530988 with a balance of 1.64e-07.