We're dividing 299588 by 45 
Our goal is to divide 299588 by 45.

On to step 1:
45 goes into 2 0 times with a remainder of 2.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 2 leaves us with 2.
Take the next digit (9) from the dividend and append it to 2, then repeat: 29 / 45

Let's proceed to step 2:
The number 45 fits into 29 0 times, leaving a remainder of 29.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 29 to get 29.
Take the next digit (9) from the dividend and append it to 29, then repeat: 299 / 45

Step 3:
If we divide 299 by 45, we get 6 and a remainder of 29.
The next digit of our result is 6. 
Result so far: 6.0
The remainder is 29 after subtracting 270 from 299.
Append the next digit (5) from the dividend to 29 and continue with: 295 / 45

Going ahead to step 4:
45 can be fit into 295 6 times, resulting in a remainder of 25.
Put 6 as the next digit of the answer. 
Result so far: 66.0
Subtracting 270 from 295 leaves us with 25.
Append the next digit (8) from the dividend to 25 and continue with: 258 / 45

Advancing to step 5:
258 divided by 45 is 5 with a remainder of 33.
Put 5 as the next digit of the answer. 
Result so far: 665.0
Subtract 225 from 258 to get 33.
Take the next digit (8) from the dividend and append it to 33, then repeat: 338 / 45

Step 6:
The number 45 fits into 338 7 times, leaving a remainder of 23.
The number 7 becomes the next digit in our result. 
Result so far: 6657.0
If we take 315 away from 338, we end up with 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Going ahead to step 7:
If we divide 230 by 45, we get 5 and a remainder of 5.
Put 5 as the next digit of the answer. 
Result so far: 6657.5
Deduct 225 from 230 and we're left with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Step 8:
45 can be fit into 50 1 times, resulting in a remainder of 5.
The number 1 becomes the next digit in our result. 
Result so far: 6657.51
If we take 45 away from 50, we end up with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Let's proceed to step 9:
If we divide 50 by 45, we get 1 and a remainder of 5.
Put 1 as the next digit of the answer. 
Result so far: 6657.511
Deduct 45 from 50 and we're left with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Our division results in 6657.511 with a remaining 0.0005.