Let's divide 500339 by 45
We want to figure out the number of times 500339 can be divided by 45.

On to step 1:
45 goes into 5 0 times 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.
Include the next digit (0) from the dividend after 5, then repeat: 50 / 45

Let's proceed to step 2:
If we divide 50 by 45, we get 1 and a remainder of 5.
The next digit of our result is 1. 
Result so far: 1.0
The remainder is 5 after subtracting 45 from 50.
Fetch the next digit (0) from the dividend, attach it to 5 and continue: 50 / 45

Going ahead to step 3:
45 goes into 50 1 times with a remainder of 5.
Record the quotient 1 as the next digit in the result. 
Result so far: 11.0
If we take 45 away from 50, we end up with 5.
Take the next digit (3) from the dividend and append it to 5, then repeat: 53 / 45

Let's proceed to step 4:
If we divide 53 by 45, we get 1 and a remainder of 8.
Use 1 as the next digit of our solution. 
Result so far: 111.0
Subtract 45 from 53 to get 8.
Take the next digit (3) from the dividend and append it to 8, then repeat: 83 / 45

Moving on to step 5:
45 goes into 83 1 times with a remainder of 38.
Put 1 as the next digit of the answer. 
Result so far: 1111.0
Subtract 45 from 83 to get 38.
Grab the next digit (9) from the dividend, add it to 38, then carry on: 389 / 45

Moving on to step 6:
389 divided by 45 is 8 with a remainder of 29.
The number 8 becomes the next digit in our result. 
Result so far: 11118.0
The remainder is 29 after subtracting 360 from 389.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Moving on to step 7:
The number 45 fits into 290 6 times, leaving a remainder of 20.
The number 6 becomes the next digit in our result. 
Result so far: 11118.6
Subtracting 270 from 290 leaves us with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Let's proceed to step 8:
If we divide 200 by 45, we get 4 and a remainder of 20.
Put 4 as the next digit of the answer. 
Result so far: 11118.64
If we subtract 180 from 200, we get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

On to step 9:
45 can be fit into 200 4 times, resulting in a remainder of 20.
Record the quotient 4 as the next digit in the result. 
Result so far: 11118.644
The remainder is 20 after subtracting 180 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

The final outcome is 11118.644, with a leftover of 0.002.