We divide 299540 by 45
We want to divide 299540 by 45.

Let's proceed to step 1:
45 goes into 2 0 times with a remainder of 2.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 2 to get 2.
Append the next digit (9) from the dividend to 2 and continue with: 29 / 45

Moving on to step 2:
29 divided by 45 is 0 with a remainder of 29.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 29, we get 29.
Bring next digit (9) of the dividend behind the 29 and repeat the process: 299 / 45

Going ahead to step 3:
If we divide 299 by 45, we get 6 and a remainder of 29.
The number 6 becomes the next digit in our result. 
Result so far: 6.0
If we subtract 270 from 299, we get 29.
Append the next digit (5) from the dividend to 29 and continue with: 295 / 45

Step 4:
If we divide 295 by 45, we get 6 and a remainder of 25.
The number 6 becomes the next digit in our result. 
Result so far: 66.0
Deduct 270 from 295 and we're left with 25.
Take the next digit (4) from the dividend and append it to 25, then repeat: 254 / 45

Advancing to step 5:
When dividing 254 by 45, we get 5 with a remainder of 29.
Use 5 as the next digit of our solution. 
Result so far: 665.0
The remainder is 29 after subtracting 225 from 254.
Take the next digit (0) from the dividend and append it to 29, then repeat: 290 / 45

Let's proceed to step 6:
The number 45 fits into 290 6 times, leaving a remainder of 20.
Use 6 as the next digit of our solution. 
Result so far: 6656.0
The remainder is 20 after subtracting 270 from 290.
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 7:
45 goes into 200 4 times with a remainder of 20.
Write down 4 as next digit of the result. 
Result so far: 6656.4
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.

On to step 8:
When dividing 200 by 45, we get 4 with a remainder of 20.
The number 4 becomes the next digit in our result. 
Result so far: 6656.44
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.

Our division results in 6656.44 with a remaining 0.02.